mirror of
https://github.com/zulip/zulip.git
synced 2025-10-30 11:33:51 +00:00
notifications: Remove support for unbatched push removal events.
We remove support for the old clients which required an event for each message to clear notification. This is justified since it has been around 1.5 years since we started supporting the bulk operation (and so essentially nobody is using a mobile app version so old that it doesn't support the batched approach) and the unbatched approach has a maintenance and reliability cost.
This commit is contained in:
@@ -285,13 +285,6 @@ APNS_SANDBOX = True
|
||||
APNS_TOPIC = 'org.zulip.Zulip'
|
||||
ZULIP_IOS_APP_ID = 'org.zulip.Zulip'
|
||||
|
||||
# Max number of "remove notification" FCM/GCM messages to send separately
|
||||
# in one burst; the rest are batched. Older clients ignore the batched
|
||||
# portion, so only receive this many removals. Lower values mitigate
|
||||
# server congestion and client battery use. To batch unconditionally,
|
||||
# set to 1.
|
||||
MAX_UNBATCHED_REMOVE_NOTIFICATIONS = 10
|
||||
|
||||
# Limits related to the size of file uploads; last few in MB.
|
||||
DATA_UPLOAD_MAX_MEMORY_SIZE = 25 * 1024 * 1024
|
||||
MAX_AVATAR_FILE_SIZE = 5
|
||||
|
||||
Reference in New Issue
Block a user