usar menos intervalos
las horas y semanas generan demasiados rollups
This commit is contained in:
parent
cc3535097e
commit
1497113f73
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class Stat < ApplicationRecord
|
class Stat < ApplicationRecord
|
||||||
INTERVALS = %i[hour day week month year].freeze
|
INTERVALS = %i[year month day].freeze
|
||||||
RESOURCES = %i[builds space_used build_time].freeze
|
RESOURCES = %i[builds space_used build_time].freeze
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue