diff options
author | Erik Johnston <erik@matrix.org> | 2017-05-05 14:01:17 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-05-05 14:01:17 +0100 |
commit | 653d90c1a529ff553d506ac806ab0403f34955ad (patch) | |
tree | c710943283a6bcd3abb78fbe7902ff9157a8077e /synapse | |
parent | Add comment and TODO (diff) | |
download | synapse-653d90c1a529ff553d506ac806ab0403f34955ad.tar.xz |
Comment
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/device.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py index 187af03fb1..982cda3edf 100644 --- a/synapse/handlers/device.py +++ b/synapse/handlers/device.py @@ -443,6 +443,12 @@ class DeviceListEduUpdater(object): " we're not retrying the remote", user_id, ) + # We abort on exceptions rather than accepting the update + # as otherwise synapse will 'forget' that its device list + # is out of date. If we bail then we will retry the resync + # next time we get a device list update for this user_id. + # This makes it more likely that the device lists will + # eventually become consistent. return except Exception: # TODO: Remember that we are now out of sync and try again |