This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
To-device messages delayed by _DestinationWakeupQueue
#15161
Labels
A-E2EE
End-to-end encryption for Matrix clients
O-Frequent
Affects or can be seen by most users regularly or impacts most users' first experience
S-Minor
Blocks non-critical functionality, workarounds exist.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Description
#12132 introduced functionality to spread out the federation transmission requests due to device-list updates. However it also applies to to-device messages (due to the default
immediate=False
at https://github.com/matrix-org/synapse/pull/12132/files#diff-4db75239ae91da3be91b6ccacb4dc969be778e832da2976b9b8fd628f16e6b52R674) which doesn't appear to have been the intention, and can cause significant delays in transmission of to-device messages.Steps to reproduce
Homeserver
sw1v.org
Synapse Version
{"server_version":"1.77.0 (b=HEAD,t=v1.77.0,3e90dfdd8)","python_version":"3.7.3"}
Installation Method
Docker (matrixdotorg/synapse)
Database
postgres
Workers
Single process
Platform
debian somethingsomething
Configuration
Relevant log output
Adjacent federation transmissions to
element.io
:Anything else that would be useful to know?
No response
The text was updated successfully, but these errors were encountered: