synapse-old/synapse/util
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
..
caches Prevent multiple upgrades on the same room at once (#5051) 2019-06-25 14:19:21 +01:00
__init__.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
async_helpers.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
distributor.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
file_consumer.py run isort 2018-07-09 16:09:20 +10:00
frozenutils.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
httpresourcetree.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
jsonobject.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
logcontext.py Avoid raising exceptions in metrics 2019-06-24 10:01:16 +01:00
logformatter.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
logutils.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
manhole.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
metrics.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
module_loader.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
msisdn.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
ratelimitutils.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
retryutils.py Call RetryLimiter correctly (#5340) 2019-06-04 22:02:53 +01:00
rlimit.py run isort 2018-07-09 16:09:20 +10:00
stringutils.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
threepids.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
versionstring.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
wheel_timer.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00