anonymousland-synapse/synapse/handlers
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
..
ui_auth
__init__.py
_base.py async/await is_server_admin (#7363) 2020-05-01 15:15:36 +01:00
account_data.py
account_validity.py
acme_issuing_service.py
acme.py
admin.py
appservice.py
auth.py Support UI Authentication for OpenID Connect accounts (#7457) 2020-05-15 12:26:02 -04:00
cas_handler.py Persist user interactive authentication sessions (#7302) 2020-04-30 13:47:49 -04:00
deactivate_account.py
device.py Retry to sync out of sync device lists (#7453) 2020-05-21 17:41:12 +02:00
devicemessage.py
directory.py async/await is_server_admin (#7363) 2020-05-01 15:15:36 +01:00
e2e_keys.py Query missing cross-signing keys on local sig upload (#7289) 2020-04-22 12:29:36 +01:00
e2e_room_keys.py
events.py Stop the master relaying USER_SYNC for other workers (#7318) 2020-04-22 22:39:04 +01:00
federation.py Convert federation handler to async/await. (#7459) 2020-05-11 15:12:46 -04:00
groups_local.py async/await is_server_admin (#7363) 2020-05-01 15:15:36 +01:00
identity.py
initial_sync.py Stop the master relaying USER_SYNC for other workers (#7318) 2020-04-22 22:39:04 +01:00
message.py Omit displayname or avatar_url if they aren't set instead of returning null (#7497) 2020-05-19 10:31:25 +01:00
oidc_handler.py Support UI Authentication for OpenID Connect accounts (#7457) 2020-05-15 12:26:02 -04:00
pagination.py
password_policy.py
presence.py Ignore incoming presence updates when presence is disabled (#7508) 2020-05-15 11:44:00 +01:00
profile.py async/await is_server_admin (#7363) 2020-05-01 15:15:36 +01:00
read_marker.py
receipts.py
register.py Hash passwords earlier in the registration process (#7523) 2020-05-18 09:46:18 -04:00
room_list.py Apply federation check for /publicRooms with filter list (#7367) 2020-04-30 11:38:07 +01:00
room_member_worker.py Add type hints to room member handlers (#7513) 2020-05-15 15:05:25 -04:00
room_member.py Add type hints to room member handlers (#7513) 2020-05-15 15:05:25 -04:00
room.py Convert the room handler to async/await. (#7396) 2020-05-04 07:43:52 -04:00
saml_handler.py Add more type hints to SAML handler. (#7445) 2020-05-07 09:30:45 -04:00
search.py Convert search code to async/await. (#7460) 2020-05-11 15:12:39 -04:00
set_password.py Hash passwords earlier in the password reset process (#7538) 2020-05-20 09:48:03 -04:00
state_deltas.py
stats.py
sync.py Speed up fetching device lists changes in sync. 2020-05-05 17:40:29 +01:00
typing.py
user_directory.py