-
- Downloads
Don't go into federation catch up mode so easily (#9561)
Federation catch up mode is very inefficient if the number of events that the remote server has missed is small, since handling gaps can be very expensive, c.f. #9492. Instead of going into catch up mode whenever we see an error, we instead do so only if we've backed off from trying the remote for more than an hour (the assumption being that in such a case it is more than a transient failure).
Showing
- changelog.d/9561.misc 1 addition, 0 deletionschangelog.d/9561.misc
- synapse/federation/sender/per_destination_queue.py 168 additions, 119 deletionssynapse/federation/sender/per_destination_queue.py
- synapse/federation/sender/transaction_manager.py 14 additions, 34 deletionssynapse/federation/sender/transaction_manager.py
- synapse/storage/databases/main/transactions.py 5 additions, 5 deletionssynapse/storage/databases/main/transactions.py
- tests/federation/test_federation_catch_up.py 2 additions, 1 deletiontests/federation/test_federation_catch_up.py
changelog.d/9561.misc
0 → 100644
Please register or sign in to comment