diff options
author | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-08-08 11:28:42 +0100 |
---|---|---|
committer | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-08-08 11:28:42 +0100 |
commit | 5216299124ce4e66648cef53e3d4e419a746fc55 (patch) | |
tree | 57437f43d9e34433ebb4150b15b6fadd037b27c6 /synapse/handlers/stats.py | |
parent | Schema delta for separated statistics (diff) | |
download | synapse-5216299124ce4e66648cef53e3d4e419a746fc55.tar.xz |
Use `threading.Lock` to prevent concurrent incremental position updates
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
Diffstat (limited to 'synapse/handlers/stats.py')
-rw-r--r-- | synapse/handlers/stats.py | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/synapse/handlers/stats.py b/synapse/handlers/stats.py |