You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Default sync_response_cache_duration can lead to clients never being able to initial sync #13027
Large accounts or slow servers can mean that the client will retry /sync (without ?since) until it gets a result. However, the server's default cache time for sync responses seemingly went from some number of minutes to zero. This means that the server processes large /sync requests in the background but immediately throws away the result if the client gave up waiting and tried a second request.
There should be a non-zero default on the config value.
However, the server's default cache time for sync responses seemingly went from some number of minutes to zero.
I don't believe it has ever been non-zero ftr, at least I can't see any evidence of that in the code.
I have vague memory of it being 5 minutes, though that could have been a matrix.org hotfixes thing. Prior to the config setting it was easier to get a successful sync, at least.
Activity
reivilibre commentedon Jun 13, 2022
This is sounding similar to (maybe the cause of) #12971.
erikjohnston commentedon Jun 14, 2022
I don't believe it has ever been non-zero ftr, at least I can't see any evidence of that in the code.
chagai95 commentedon Jun 14, 2022
This was bothering me for a good few months, so happy I found this, thx so much for reporting!
turt2live commentedon Jun 14, 2022
I have vague memory of it being 5 minutes, though that could have been a matrix.org hotfixes thing. Prior to the config setting it was easier to get a successful sync, at least.