diff options
author | Emma [it/its]@Rory& <root@rory.gay> | 2024-05-13 23:54:52 +0200 |
---|---|---|
committer | Emma [it/its]@Rory& <root@rory.gay> | 2024-05-13 23:54:52 +0200 |
commit | 45445d09895d68d46b0315d0dc947ae39ff5210f (patch) | |
tree | 4dffdd78aece67b6129e66e12fc34c8e4965e6b0 /LibMatrix/Homeservers/ImplementationDetails | |
parent | Clearer error messages, fix bug in hs resolution (diff) | |
download | LibMatrix-45445d09895d68d46b0315d0dc947ae39ff5210f.tar.xz |
Raise query size in synapse room query
Diffstat (limited to 'LibMatrix/Homeservers/ImplementationDetails')
-rw-r--r-- | LibMatrix/Homeservers/ImplementationDetails/Synapse/SynapseAdminApiClient.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibMatrix/Homeservers/ImplementationDetails/Synapse/SynapseAdminApiClient.cs b/LibMatrix/Homeservers/ImplementationDetails/Synapse/SynapseAdminApiClient.cs index 5cc055d..ac94a7a 100644 --- a/LibMatrix/Homeservers/ImplementationDetails/Synapse/SynapseAdminApiClient.cs +++ b/LibMatrix/Homeservers/ImplementationDetails/Synapse/SynapseAdminApiClient.cs @@ -11,7 +11,7 @@ public class SynapseAdminApiClient(AuthenticatedHomeserverSynapse authenticatedH var i = 0; int? totalRooms = null; do { - var url = $"/_synapse/admin/v1/rooms?limit={Math.Min(limit, 100)}&dir={dir}&order_by={orderBy}"; + var url = $"/_synapse/admin/v1/rooms?limit={Math.Min(limit, 250)}&dir={dir}&order_by={orderBy}"; if (!string.IsNullOrEmpty(searchTerm)) url += $"&search_term={searchTerm}"; if (res?.NextBatch is not null) url += $"&from={res.NextBatch}"; |