mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
zephyr: Remove Zephyr mirroring support.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
fb13de4e10
commit
40a022dcc3
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user