diff --git a/app/jobs/uri_collection_job.rb b/app/jobs/uri_collection_job.rb index a7dd2a00..c3e48ecd 100644 --- a/app/jobs/uri_collection_job.rb +++ b/app/jobs/uri_collection_job.rb @@ -68,7 +68,7 @@ class UriCollectionJob < PeriodicJob end # Reducir todas las visitas a cantidad de visitas por host - rollup('host', beginning, :sum, **host_dimensions) + rollup('host', beginning, **host_dimensions) # Acumular por mes y año reduce_rollup('host', beginning, :sum, **host_dimensions) @@ -78,7 +78,7 @@ class UriCollectionJob < PeriodicJob column_dimensions = { host: host } column_dimensions[column] = value - rollup("host|#{column}", beginning, :sum, **column_dimensions) + rollup("host|#{column}", beginning, **column_dimensions) reduce_rollup("host|#{column}", beginning, :sum, **column_dimensions) end end