diff options
| author | Richard van der Hoff <richard@matrix.org> | 2018-10-22 16:12:11 +0100 |
|---|---|---|
| committer | Richard van der Hoff <richard@matrix.org> | 2018-10-22 16:12:11 +0100 |
| commit | f749607c911a82e64685f1cfaeee892c49a1b606 (patch) | |
| tree | ebb3e70cce4660fc614cb4ddb819b6f83572219b /synapse/push/emailpusher.py | |
| parent | Remove redundant run_as_background_process() from pusherpool (diff) | |
| download | synapse-f749607c911a82e64685f1cfaeee892c49a1b606.tar.xz | |
Make on_started synchronous too
This brings it into line with on_new_notifications and on_new_receipts. It requires a little bit of hoop-jumping in EmailPusher to load the throttle params before the first loop.
Diffstat (limited to '')
| -rw-r--r-- | synapse/push/emailpusher.py | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/synapse/push/emailpusher.py b/synapse/push/emailpusher.py |
