mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-18 16:02:15 +01:00
Put back real delay before mailing
This commit is contained in:
parent
68f8fc2f14
commit
cc0874cf71
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
# The amount of time we always wait before ever emailing about a notification
|
# The amount of time we always wait before ever emailing about a notification
|
||||||
# (to give the user a chance to respond to other push or notice the window)
|
# (to give the user a chance to respond to other push or notice the window)
|
||||||
DELAY_BEFORE_MAIL_MS = 2000#2 * 60 * 1000
|
DELAY_BEFORE_MAIL_MS = 2 * 60 * 1000
|
||||||
|
|
||||||
THROTTLE_START_MS = 2 * 60 * 1000
|
THROTTLE_START_MS = 2 * 60 * 1000
|
||||||
THROTTLE_MAX_MS = (2 * 60 * 1000) * (2 ** 11) # ~3 days
|
THROTTLE_MAX_MS = (2 * 60 * 1000) * (2 ** 11) # ~3 days
|
||||||
|
|
Loading…
Reference in a new issue