mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04: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).
2 lines
94 B
Plaintext
2 lines
94 B
Plaintext
Fix `wait_for_stream_position` to correctly wait for the right instance to advance its token.
|