mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 10:31:41 +00:00
fixup! fixup! generar estadísticas de uso de infra
This commit is contained in:
parent
8d4958af53
commit
92cd2ac052
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class StatCollectionJob < PeriodicJob
|
||||||
#
|
#
|
||||||
# @return [ActiveRecord::Relation]
|
# @return [ActiveRecord::Relation]
|
||||||
def scope
|
def scope
|
||||||
@scope ||= site.build_stats.jekyll.where('created_at >= ?', beginning_of_interval).group(:site_id)
|
@scope ||= site.build_stats.jekyll.where('build_stats.created_at >= ?', beginning_of_interval).group(:site_id)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Las opciones por defecto
|
# Las opciones por defecto
|
||||||
|
|
Loading…
Reference in a new issue