mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 15:51:23 +01:00
Move federation config to separate config section
This renames: allow_federation -> federation.enable trusted_servers -> federation.trusted_servers max_fetch_prev_events -> federation.max_fetch_prev_events max_concurrent_requests -> federation.max_concurrent_requests
This commit is contained in:
parent
e0e7d8fd91
commit
5a6e4fac73
4 changed files with 29 additions and 25 deletions
|
|
@ -159,7 +159,7 @@ impl Service {
|
|||
sender,
|
||||
receiver: Mutex::new(receiver),
|
||||
maximum_requests: Arc::new(Semaphore::new(
|
||||
config.max_concurrent_requests.into(),
|
||||
config.federation.max_concurrent_requests.into(),
|
||||
)),
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue