zephyr: Remove Zephyr mirroring support.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2025-09-12 13:32:21 -07:00
committed by Tim Abbott
parent fb13de4e10
commit 40a022dcc3
94 changed files with 121 additions and 2067 deletions

View File

@@ -9,10 +9,6 @@ from zerver.models import Realm
def get_streams_traffic(stream_ids: set[int], realm: Realm) -> dict[int, int] | None:
if realm.is_zephyr_mirror_realm:
# We do not need traffic data for streams in zephyr mirroring realm.
return None
stat = COUNT_STATS["messages_in_stream:is_bot:day"]
traffic_from = timezone_now() - timedelta(days=28)