mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
analytics: Remove outdated comment in counts.py.
This commit is contained in:
@@ -164,11 +164,7 @@ def do_aggregate_to_summary_table(stat, end_time, interval):
|
||||
logger.info("%s InstallationCount aggregation (%dms/%sr)" % (stat.property, (end-start)*1000, cursor.rowcount))
|
||||
cursor.close()
|
||||
|
||||
## methods that hit the prod databases directly
|
||||
# No left joins in Django ORM yet, so have to use raw SQL :(
|
||||
# written in slightly more than needed generality, to reduce copy-paste errors
|
||||
# as more of these are made / make it easy to extend to a pull_X_by_realm
|
||||
|
||||
# This is the only method that hits the prod databases directly.
|
||||
def do_pull_from_zerver(stat, start_time, end_time, interval):
|
||||
# type: (CountStat, datetime, datetime, str) -> None
|
||||
zerver_table = stat.zerver_count_query.zerver_table._meta.db_table # type: ignore
|
||||
|
||||
Reference in New Issue
Block a user