summary refs log tree commit diff
path: root/synapse/push
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-04-28 17:00:40 +0100
committerDavid Baker <dave@matrix.org>2016-04-28 17:00:40 +0100
commitcc0874cf71b2d2eef713155900b4ac5384ba1a1a (patch)
tree7a0a355311070087313152854a16103f9141baad /synapse/push
parentSupport file messages & fix plain text (diff)
downloadsynapse-cc0874cf71b2d2eef713155900b4ac5384ba1a1a.tar.xz
Put back real delay before mailing
Diffstat (limited to 'synapse/push')
-rw-r--r--synapse/push/emailpusher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/emailpusher.py b/synapse/push/emailpusher.py
index 6ae16e9865..dcbee4c3fe 100644
--- a/synapse/push/emailpusher.py
+++ b/synapse/push/emailpusher.py
@@ -26,7 +26,7 @@ logger = logging.getLogger(__name__)
 
 # 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)
-DELAY_BEFORE_MAIL_MS = 2000#2 * 60 * 1000
+DELAY_BEFORE_MAIL_MS = 2 * 60 * 1000
 
 THROTTLE_START_MS = 2 * 60 * 1000
 THROTTLE_MAX_MS = (2 * 60 * 1000) * (2 ** 11)  # ~3 days