Open brunakov opened 3 years ago
I found a single entry for each user synapse wants to resync their devices list, in device_lists_remote_resync
table. Maybe I could delete the entries from there ?
I found a single entry for each user synapse wants to resync their devices list, in
device_lists_remote_resync
table. Maybe I could delete the entries from there ?
Yup, that should work.
We should make sure that that happens automatically when we no longer share a room with the user. I think its just a case of adding a delete clause to mark_remote_user_device_list_as_unsubscribed
function.
By the way I deleted all entries on device_lists_remote_resync
and the problem did not re-occur.
Description
After disabling federation for my homeserver, I get logs related to device lists resync, for users that are no more in any rooms. Using nginx as reverse proxy, I have disabled federation by removing 8448 port from nginx conf file, set
federation_domain_whitelist =[]
, and denied 8448 in ufw firewall. A log entry example would be:Looking at the database I find entries for this user in :
What tables have to be cleared for this user, so that synapse stops to resync the device list for those users ? Any APIs I can safely use?
Version information
Version: 1.36
Install method: apt package manager
Platform: Ubuntu Server 20.04