zulip/analytics
Rishi Gupta 5e49da9285 analytics: Only update daily stats on day boundaries.
Previously we would update FillState for daily stats on hourly boundaries as
well. This would create two extra queries on the FillState table every hour
(for each CountStat), which adds roughly 50ms of extra processing for each
CountStat each day, as well as two extra lines each hour in the analytics
log. This can be a minor annoyance when backfilling stats.
2017-04-18 11:02:51 -07:00
..
lib analytics: Only update daily stats on day boundaries. 2017-04-18 11:02:51 -07:00
management Replace timezone.now with timezone_now. 2017-04-16 12:28:56 -07:00
migrations analytics: Separate private messages from group private messages. 2017-03-20 11:46:29 -07:00
tests analytics: Only update daily stats on day boundaries. 2017-04-18 11:02:51 -07:00
__init__.py Create "analytics" app with activity reports. 2013-11-06 12:07:32 -05:00
models.py Remove unused timezone import. 2017-04-16 12:28:56 -07:00
urls.py analytics: Add comment explaining server admin routes. 2017-02-02 16:23:10 -08:00
views.py Replace timezone.now with timezone_now. 2017-04-16 12:28:56 -07:00