summary refs log tree commit diff
path: root/synapse/push/__init__.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-12-22 17:19:22 +0000
committerDavid Baker <dave@matrix.org>2015-12-22 17:19:22 +0000
commit5645d9747b17e9d119cc7badd7c2abe3c157a1a6 (patch)
treee8e2c018430089a5705f650ba36115df030e0d9b /synapse/push/__init__.py
parentRemove the list of problems (moved to jira issues) (diff)
downloadsynapse-5645d9747b17e9d119cc7badd7c2abe3c157a1a6.tar.xz
Add some comments to areas that could be optimised.
Diffstat (limited to 'synapse/push/__init__.py')
-rw-r--r--synapse/push/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/push/__init__.py b/synapse/push/__init__.py

index d5928c1d29..635dedd523 100644 --- a/synapse/push/__init__.py +++ b/synapse/push/__init__.py
@@ -26,7 +26,9 @@ import random logger = logging.getLogger(__name__) - +# Pushers could now be moved to pull out of the event_actions table instead +# of listening on the event stream: this would avoid them having to run the +# rules again. class Pusher(object): INITIAL_BACKOFF = 1000 MAX_BACKOFF = 60 * 60 * 1000