diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-05-12 11:20:40 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-05-12 11:20:40 +0100 |
commit | 5002056b16549ba2a9175ab62897014ee58e73ff (patch) | |
tree | d75b7ecf0efaa8d8833b860286cee7cfbc016d48 /synapse/storage/util | |
parent | Merge branch 'hotfixes-v0.9.0-r4' of github.com:matrix-org/synapse into develop (diff) | |
download | synapse-5002056b16549ba2a9175ab62897014ee58e73ff.tar.xz |
SYN-377: Make sure that the StreamIdGenerator.get_next.__exit__ is called from the main thread after the transaction completes, not from database thread before the transaction completes.
Diffstat (limited to 'synapse/storage/util')
-rw-r--r-- | synapse/storage/util/id_generators.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/synapse/storage/util/id_generators.py b/synapse/storage/util/id_generators.py |