diff options
author | Kegsay <kegan@matrix.org> | 2020-08-13 16:43:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-13 16:43:27 +0100 |
commit | 20c8f252a7930e07a113e24acc59964e5e19e708 (patch) | |
tree | a8d4b101f8a4c920c4bc774d2abe21a1a295896b /cmd | |
parent | 4c4732a9c95e03011ee85a311da13594922b58f0 (diff) |
Make 'Device list doesn't change if remote server is down' pass (#1268)
- As a last resort, query the DB when exhausting all possible remote query
endpoints, but keep the field in `failures` so clients can detect that this
is stale data.
- Unblock `DeviceListUpdater.Update` on failures rather than timing out.
- Use a mutex when writing directly to `res`, not just for failures.
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions