mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-16 23:31:24 +01:00
reset device key query backoff after a successful request
Failing to reset the backoff state resulted in a monotonically increasing backoff delay. If a remote server was temporarily unavailable, we would have a persistently increased rate of key query failures until the backoff state was reset by a server restart. If enough key queries were attempted while the remote was unavailable, it can accumulate an arbitrarily long backoff delay and effectively block all future key queries to this server.
This commit is contained in:
parent
79cedccdb6
commit
4ee8312068
2 changed files with 15 additions and 3 deletions
|
|
@ -205,6 +205,10 @@ This will be the first release of Grapevine since it was forked from Conduit
|
|||
21. Fix tiebreaking comparisons between events during state resolution. This
|
||||
will reduce the rate at which servers disagree about the state of rooms.
|
||||
([!141](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/141))
|
||||
22. Fix bug where the backoff state for remote device key queries was not reset
|
||||
after a successful request, causing an increasing rate of key query failures
|
||||
over time until a server restart.
|
||||
([!149](https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/149))
|
||||
|
||||
### Added
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue