mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 03:11:54 +00:00
zilencer: Fix buggy validation of installation_counts upload.
This was a simple copy-paste error. It's probably worth a bit more work on code duplication in this code path.
This commit is contained in:
@@ -184,7 +184,7 @@ def remote_server_post_analytics(request: HttpRequest,
|
|||||||
server = cast(RemoteZulipServer, entity)
|
server = cast(RemoteZulipServer, entity)
|
||||||
|
|
||||||
validate_count_stats(server, RemoteRealmCount, realm_counts)
|
validate_count_stats(server, RemoteRealmCount, realm_counts)
|
||||||
validate_count_stats(server, RemoteInstallationCount, realm_counts)
|
validate_count_stats(server, RemoteInstallationCount, installation_counts)
|
||||||
|
|
||||||
BATCH_SIZE = 1000
|
BATCH_SIZE = 1000
|
||||||
while len(realm_counts) > 0:
|
while len(realm_counts) > 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user