diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2020-05-21 17:41:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-21 17:41:12 +0200 |
commit | d1ae1015ecb7dcb36d7cb39d5d41733e1ced2a52 (patch) | |
tree | f3ca78aa6d40d1dead7ac3badcfb150e1538b9db /changelog.d/7453.bugfix | |
parent | Stub out GET presence requests in the frontend proxy (#7545) (diff) | |
download | synapse-d1ae1015ecb7dcb36d7cb39d5d41733e1ced2a52.tar.xz |
Retry to sync out of sync device lists (#7453)
When a call to `user_device_resync` fails, we don't currently mark the remote user's device list as out of sync, nor do we retry to sync it. https://github.com/matrix-org/synapse/pull/6776 introduced some code infrastructure to mark device lists as stale/out of sync. This commit uses that code infrastructure to mark device lists as out of sync if processing an incoming device list update makes the device handler realise that the device list is out of sync, but we can't resync right now. It also adds a looping call to retry all failed resync every 30s. This shouldn't cause too much spam in the logs as this commit also removes the "Failed to handle device list update for..." warning logs when catching `NotRetryingDestination`. Fixes #7418
Diffstat (limited to 'changelog.d/7453.bugfix')
-rw-r--r-- | changelog.d/7453.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/7453.bugfix b/changelog.d/7453.bugfix new file mode 100644 index 0000000000..629a3d61e2 --- /dev/null +++ b/changelog.d/7453.bugfix @@ -0,0 +1 @@ +Fix a bug that would cause Synapse not to resync out-of-sync device lists. |