diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-09-30 09:41:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-30 09:41:16 +0100 |
commit | 8a82f100460dc5ca7bd39ae2345c251d6622c494 (patch) | |
tree | 638de163b6c87c6b84248c4bd07ff0d559fe8ecf /syncapi/storage/tables/interface.go | |
parent | 9005e5b4a87c0bdd4f19b1dbf46f3093ac07e727 (diff) |
Allow more time for device list updates (#2749)
This updates the device list updater so that it has a context
per-request, rather than a global 30 seconds for the entire server. This
could mean that talking to a slow remote server or requesting a lot of
user IDs was pretty much guaranteed to fail.
It also uses the process context to allow correct cancellation when
Dendrite wants to shut down cleanly.
Diffstat (limited to 'syncapi/storage/tables/interface.go')
0 files changed, 0 insertions, 0 deletions