Skip to content

Commit d0fc2c4

Browse files
committed
fix: bump limit
1 parent b34d9fe commit d0fc2c4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

crates/common/src/cli.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub struct Args {
4242
#[arg(long, default_value = "3000")]
4343
pub server_port: u16,
4444

45-
#[arg(long, default_value = "2048")]
45+
#[arg(long, default_value = "8192")]
4646
pub server_concurrency_limit: usize,
4747

4848
#[arg(long, default_value = "info")]
@@ -272,7 +272,7 @@ impl Args {
272272
custom_genesis_config: None,
273273
data_node: data_node.endpoint,
274274
data_node_timeout: Some(data_node.request_timeout),
275-
server_concurrency_limit: 2048,
275+
server_concurrency_limit: 8192,
276276
};
277277

278278
if !is_solitary {
@@ -683,7 +683,7 @@ mod tests {
683683
.await
684684
.unwrap();
685685

686-
assert_eq!(config.server_concurrency_limit, 2048);
686+
assert_eq!(config.server_concurrency_limit, 8192);
687687
}
688688

689689
#[tokio::test]

docs/src/content/options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Default: 0.0.0.0
99
Default: 3000
1010

1111
`--server-concurrency-limit <LIMIT>`\
12-
Default: 2048\
12+
Default: 8192\
1313
Maximum number of concurrent requests the server will handle. Requests exceeding this limit will receive a 503 Service Unavailable response.
1414

1515
`--network <NETWORK>` (required)\

docs/src/content/verification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ If verification fails, check these common issues:
155155

156156
### Receiving 503 errors under load
157157

158-
- The server has a concurrency limit (default: 2048 concurrent requests). If exceeded, additional requests receive a 503 response.
158+
- The server has a concurrency limit (default: 8192 concurrent requests). If exceeded, additional requests receive a 503 response.
159159
- Increase the limit with `--server-concurrency-limit` if needed.
160160

161161
### Not appearing in Grafana

0 commit comments

Comments
 (0)