Commit graph

12 commits

Author SHA1 Message Date
Till Faelligen 1408ccf3b8
Review comments, check blacklisted when processing a server 2023-11-08 14:19:23 +01:00
Till Faelligen 9df2b9a69d
Don't fully fill the buffer 2023-11-02 10:48:09 +01:00
Till Faelligen 999463a80e
Make Sytest happy again 2023-11-01 15:46:48 +01:00
Till Faelligen b82ac59cf0
Use IsBlacklistedOrBackingOff from the fed API to check if we should
query the given server or not
2023-11-01 15:32:20 +01:00
Till Faelligen be0c6995e9
This probably makes more sense 2023-11-01 12:27:47 +01:00
Till Faelligen 0b3a264648
Reduce timeout to 1s 2023-11-01 10:38:36 +01:00
Till da7bca0224
Some tweaks for the device list updater (#3251)
This makes the following changes:
- Adds two new metrics observing the usage of the `DeviceListUpdater`
workers
- Makes the number of workers configurable
- Adds a 30s timeout for DB requests when receiving a device list update
over federation
2023-10-31 16:39:45 +01:00
Till 8c23c1150c
Tweaks around the device list updater (#3227)
I hope the comments explain the changes.

`notifyWorkers` notifies a worker which then calls `processServer`,
which in turn gets all users and calls `processServerUser`. There is no
need to call `processServer` for the same domain on startup.
2023-10-23 11:09:05 +02:00
devonh 0489d16f95
Move json errors over to gmsl (#3080) 2023-05-09 22:46:49 +00:00
kegsay 72285b2659
refactor: update GMSL (#3058)
Sister PR to https://github.com/matrix-org/gomatrixserverlib/pull/364

Read this commit by commit to avoid going insane.
2023-04-19 15:50:33 +01:00
kegsay 0db43f13a6
refactor: use latest GMSL which splits fed client from matrix room logic (#3051)
Part of a series of refactors on GMSL.
2023-04-06 09:55:01 +01:00
Till 4594233f89
Merge keyserver & userapi (#2972)
As discussed yesterday, a first draft of merging the keyserver and the
userapi.
2023-02-20 14:58:03 +01:00
Renamed from keyserver/internal/device_list_update.go (Browse further)