MatrixSynapse/synapse
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
..
_scripts Run Black. (#5482) 2019-06-20 19:32:02 +10:00
api Run Black. (#5482) 2019-06-20 19:32:02 +10:00
app Drop support for cpu_affinity (#5525) 2019-06-22 11:01:55 +10:00
appservice Run Black. (#5482) 2019-06-20 19:32:02 +10:00
config Merge pull request #5524 from matrix-org/rav/new_cmdline_options 2019-06-24 17:25:57 +01:00
crypto Run Black. (#5482) 2019-06-20 19:32:02 +10:00
events Run Black. (#5482) 2019-06-20 19:32:02 +10:00
federation Split public rooms directory auth config in two 2019-06-24 15:42:31 +01:00
groups Run Black. (#5482) 2019-06-20 19:32:02 +10:00
handlers Prevent multiple upgrades on the same room at once (#5051) 2019-06-25 14:19:21 +01:00
http Run Black. (#5482) 2019-06-20 19:32:02 +10:00
metrics Run Black. (#5482) 2019-06-20 19:32:02 +10:00
module_api Run Black. (#5482) 2019-06-20 19:32:02 +10:00
push Improve email notification logging (#5502) 2019-06-20 15:14:26 +01:00
replication Run Black. (#5482) 2019-06-20 19:32:02 +10:00
res/templates Change password reset links to /_matrix. 2019-06-11 11:34:33 +01:00
rest Split public rooms directory auth config in two 2019-06-24 15:42:31 +01:00
server_notices Run Black. (#5482) 2019-06-20 19:32:02 +10:00
state Merge branch 'develop' of github.com:matrix-org/synapse into erikj/histogram_extremities 2019-06-20 11:59:14 +01:00
static Avoid redundant URL encoding (#4555) 2019-04-04 12:05:56 +01:00
storage Merge pull request #5499 from matrix-org/rav/cleanup_metrics 2019-06-24 17:12:54 +01:00
streams Fix /messages on workers when no from param specified. 2019-06-24 10:06:51 +01:00
util 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
event_auth.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
notifier.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
python_dependencies.py Only import jinja2 when needed (#5514) 2019-06-21 16:52:09 +01:00
secrets.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
server.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
server.pyi Run Black. (#5482) 2019-06-20 19:32:02 +10:00
types.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
visibility.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00