summary refs log tree commit diff
path: root/synapse/push/emailpusher.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-04-27 15:30:41 +0100
committerDavid Baker <dave@matrix.org>2016-04-27 15:30:41 +0100
commit8781083960325e7aae16b1745c8e90561fde3d35 (patch)
treece056eca419c04a45ddce18b3f8ffbcdb9cec596 /synapse/push/emailpusher.py
parentHopefully all remaining bits for email notifs (diff)
downloadsynapse-8781083960325e7aae16b1745c8e90561fde3d35.tar.xz
Better grammar for multiple messages in a room
Say who the messages are from if there's no room name, otherwise it's a bit nonsensical
Diffstat (limited to 'synapse/push/emailpusher.py')
-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 dcbee4c3fe..6ae16e9865 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 = 2 * 60 * 1000
+DELAY_BEFORE_MAIL_MS = 2000#2 * 60 * 1000
 
 THROTTLE_START_MS = 2 * 60 * 1000
 THROTTLE_MAX_MS = (2 * 60 * 1000) * (2 ** 11)  # ~3 days