diff options
author | Erik Johnston <erik@matrix.org> | 2015-06-18 15:49:05 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-06-18 15:49:24 +0100 |
commit | 22049ea700173017cf2f8e88fb8848e06b82f9b3 (patch) | |
tree | 5a6375689c4009777690da704bc2baec86e5a014 /synapse/util/async.py | |
parent | Fix notifier leak (diff) | |
download | synapse-22049ea700173017cf2f8e88fb8848e06b82f9b3.tar.xz |
Refactor the notifier.wait_for_events code to be clearer. Add _NotifierUserStream.new_listener that accpets a token to avoid races.
Diffstat (limited to 'synapse/util/async.py')
-rw-r--r-- | synapse/util/async.py | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/synapse/util/async.py b/synapse/util/async.py |