anonymousland-synapse/synapse/util/caches
Andrew Morgan ef8c62758c
Prevent multiple upgrades on the same room at once (#5051)
Closes #4583

Does slightly less than #5045, which prevented a room from being upgraded multiple times, one after another. This PR still allows that, but just prevents two from happening at the same time.

Mostly just to mitigate the fact that servers are slow and it can take a moment for the room upgrade to actually complete. We don't want people sending another request to upgrade the room when really they just thought the first didn't go through.
2019-06-25 14:19:21 +01:00
..
__init__.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
descriptors.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
dictionary_cache.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
expiringcache.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
lrucache.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
response_cache.py Prevent multiple upgrades on the same room at once (#5051) 2019-06-25 14:19:21 +01:00
snapshot_cache.py Rename async to async_helpers because async is a keyword on Python 3.7 (#3678) 2018-08-10 23:50:21 +10:00
stream_change_cache.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
treecache.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
ttlcache.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00