mirror of
https://0xacab.org/sutty/sutty
synced 2024-10-05 20:36:57 +00:00
aplicar la operación!
This commit is contained in:
parent
ed3f153919
commit
30861d240e
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class StatCollectionJob < PeriodicJob
|
||||||
.where_dimensions(site_id: site.id)
|
.where_dimensions(site_id: site.id)
|
||||||
.group("dimensions->'site_id'")
|
.group("dimensions->'site_id'")
|
||||||
.rollup(name, interval: interval, update: true) do |rollup|
|
.rollup(name, interval: interval, update: true) do |rollup|
|
||||||
rollup.try(:operation, :value)
|
rollup.try(operation, :value)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue