diff --git a/DEPLOY.md b/DEPLOY.md index 02073ff..c48b778 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -99,7 +99,7 @@ allow_federation = true trusted_servers = ["matrix.org"] #cache_capacity = 1073741824 # in bytes, 1024 * 1024 * 1024 -#max_concurrent_requests = 4 # How many requests Conduit sends to other servers at the same time +#max_concurrent_requests = 100 # How many requests Conduit sends to other servers at the same time #workers = 4 # default: cpu core count * 2 address = "127.0.0.1" # This makes sure Conduit can only be reached using the reverse proxy diff --git a/conduit-example.toml b/conduit-example.toml index 3ac3a48..66c105b 100644 --- a/conduit-example.toml +++ b/conduit-example.toml @@ -36,7 +36,7 @@ max_request_size = 20_000_000 # in bytes trusted_servers = ["matrix.org"] #cache_capacity = 1073741824 # in bytes, 1024 * 1024 * 1024 -#max_concurrent_requests = 4 # How many requests Conduit sends to other servers at the same time +#max_concurrent_requests = 100 # How many requests Conduit sends to other servers at the same time #log = "info,state_res=warn,rocket=off,_=off,sled=off" #workers = 4 # default: cpu core count * 2 diff --git a/debian/postinst b/debian/postinst index c3d727c..6a4cdb8 100644 --- a/debian/postinst +++ b/debian/postinst @@ -74,7 +74,7 @@ max_request_size = 20_000_000 # in bytes #allow_jaeger = false #cache_capacity = 1073741824 # in bytes, 1024 * 1024 * 1024 -#max_concurrent_requests = 4 # How many requests Conduit sends to other servers at the same time +#max_concurrent_requests = 100 # How many requests Conduit sends to other servers at the same time #log = "info,state_res=warn,rocket=off,_=off,sled=off" #workers = 4 # default: cpu core count * 2 EOF diff --git a/src/database.rs b/src/database.rs index 76eae24..561b561 100644 --- a/src/database.rs +++ b/src/database.rs @@ -67,7 +67,7 @@ fn default_max_request_size() -> u32 { } fn default_max_concurrent_requests() -> u16 { - 4 + 100 } fn default_log() -> String {