MatrixSynapse/tests
Brendan Abolivier d1ae1015ec
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
2020-05-21 17:41:12 +02:00
..
api
app Remove spurious "name" parameter to `default_config` 2020-03-24 18:33:49 +00:00
appservice
config Fix new flake8 errors (#7470) 2020-05-12 11:20:48 +01:00
crypto
events
federation
handlers Support UI Authentication for OpenID Connect accounts (#7457) 2020-05-15 12:26:02 -04:00
http
logging
push Do not treat display names as globs for push rules. (#7271) 2020-04-16 10:52:55 -04:00
replication
rest Allow expired accounts to logout (#7443) 2020-05-14 16:32:49 +01:00
scripts
server_notices Convert synapse.server_notices to async/await. (#7394) 2020-05-01 15:28:59 -04:00
state Improve get auth chain difference algorithm. (#7095) 2020-03-18 16:46:41 +00:00
storage
test_utils
util
__init__.py
server.py
test_distributor.py
test_event_auth.py
test_federation.py Retry to sync out of sync device lists (#7453) 2020-05-21 17:41:12 +02:00
test_mau.py
test_metrics.py
test_phone_home.py
test_preview.py
test_server.py
test_state.py
test_terms_auth.py
test_test_utils.py
test_types.py
test_visibility.py
unittest.py
utils.py