remote_server: Rename to 'send_server_data_to_push_bouncer'.

This commit renames 'send_analytics_to_push_bouncer'
to 'send_server_data_to_push_bouncer'.
This commit is contained in:
Prakhar Pratyush
2023-12-11 18:54:13 +05:30
committed by Tim Abbott
parent 41ceae9c31
commit c1daabd3c0
8 changed files with 48 additions and 48 deletions

View File

@@ -13,7 +13,7 @@ from typing_extensions import override
from analytics.lib.counts import ALL_COUNT_STATS, logger, process_count_stat
from scripts.lib.zulip_tools import ENDC, WARNING
from zerver.lib.remote_server import send_analytics_to_push_bouncer
from zerver.lib.remote_server import send_server_data_to_push_bouncer
from zerver.lib.timestamp import floor_to_hour
from zerver.models import Realm
@@ -106,4 +106,4 @@ class Command(BaseCommand):
logger.info("Sleeping %d seconds before reporting...", delay)
time.sleep(delay)
send_analytics_to_push_bouncer(consider_usage_statistics=True)
send_server_data_to_push_bouncer(consider_usage_statistics=True)