mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-29 21:56:21 +00:00
Merge branch 'blazer' into panel.sutty.nl
This commit is contained in:
commit
c644e57897
1 changed files with 2 additions and 2 deletions
|
@ -76,9 +76,9 @@ class UriCollectionJob < PeriodicJob
|
||||||
# @param :dimensions [Hash]
|
# @param :dimensions [Hash]
|
||||||
# @param :filter [Hash]
|
# @param :filter [Hash]
|
||||||
# @return [nil]
|
# @return [nil]
|
||||||
def rollup(name:, beginning:, dimensions:, filter: nil)
|
def rollup(name:, dimensions:, filter: nil)
|
||||||
AccessLog.where(**(filter || dimensions))
|
AccessLog.where(**(filter || dimensions))
|
||||||
.where('created_at >= ?', beginning)
|
.where('created_at >= ?', beginning_of_interval)
|
||||||
.completed_requests
|
.completed_requests
|
||||||
.non_robots
|
.non_robots
|
||||||
.group(*dimensions.keys)
|
.group(*dimensions.keys)
|
||||||
|
|
Loading…
Reference in a new issue