Skip to content

Commit

Permalink
Reorder stats generation requests
Browse files Browse the repository at this point in the history
all_time stats take the longest time to generate, do them at the last.
  • Loading branch information
amCap1712 committed Jan 19, 2024
1 parent 908023d commit e6082b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions data/model/common_stat.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@


class StatisticsRange(Enum):
this_week = 'this_week'
this_month = 'this_month'
this_year = 'this_year'
week = 'week'
month = 'month'
quarter = 'quarter'
half_yearly = 'half_yearly'
year = 'year'
half_yearly = 'half_yearly'
all_time = 'all_time'
this_week = 'this_week'
this_month = 'this_month'
this_year = 'this_year'


#: list of allowed value for range param accepted by various statistics endpoints
Expand Down

0 comments on commit e6082b1

Please sign in to comment.