analytics: Remove outdated comment in counts.py.

This commit is contained in:
Rishi Gupta
2016-10-25 12:01:21 -07:00
committed by Tim Abbott
parent 01665d9c3c
commit 54016e1096

View File

@@ -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