diff options
author | Erik Johnston <erik@matrix.org> | 2015-05-15 10:54:04 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-05-15 10:54:04 +0100 |
commit | a2c4f3f150f63c720370f6882da804c8ac20fd69 (patch) | |
tree | 3b1465eeecbc337c70a3313441380f4a126df7d3 /synapse/storage/stream.py | |
parent | Remove race condition (diff) | |
download | synapse-a2c4f3f150f63c720370f6882da804c8ac20fd69.tar.xz |
Fix daedlock
Diffstat (limited to 'synapse/storage/stream.py')
-rw-r--r-- | synapse/storage/stream.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py index d16b57c515..af45fc5619 100644 --- a/synapse/storage/stream.py +++ b/synapse/storage/stream.py @@ -357,10 +357,12 @@ class StreamStore(SQLBaseStore): "get_recent_events_for_room", get_recent_events_for_room_txn ) + logger.debug("stream before") events = yield self._get_events( [r["event_id"] for r in rows], get_prev_content=True ) + logger.debug("stream after") self._set_before_and_after(events, rows) |