mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 11:36:03 +03:00
316590d1ea
We were incorrectly checking if the *local* token had been advanced, rather than the token for the remote instance. In practice, I don't think this has caused any bugs due to where we use `wait_for_stream_position`, as critically we don't use it on instances that also write to the given streams (and so the local token will lag behind all remote tokens).
1 line
94 B
Text
1 line
94 B
Text
Fix `wait_for_stream_position` to correctly wait for the right instance to advance its token.
|