0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-07-09 04:38:57 +02:00
synapse/changelog.d/6029.bugfix
Erik Johnston 70c52821ce Fix race condition in room stats. (#6029)
Broke in #5971

Basically the bug is that if get_current_state_deltas returns no new updates and we then take the max pos, its possible that we miss an update that happens in between the two calls. (e.g. get_current_state_deltas looks up to stream pos 5, then an event persists and so getting the max stream pos returns 6, meaning that next time we check for things with a stream pos bigger than 6)
2019-09-17 12:41:23 +01:00

2 lines
34 B
Plaintext

Fix room and user stats tracking.