upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs
index 0014003..320661f 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -470,9 +470,9 @@ pub struct Config {
470 #[arg(long, env = "NGIT_EVENT_BLACKLIST", default_value = "")] 470 #[arg(long, env = "NGIT_EVENT_BLACKLIST", default_value = "")]
471 pub event_blacklist: String, 471 pub event_blacklist: String,
472 472
473 /// Maximum total connections to the relay (default: 500) 473 /// Maximum total connections to the relay (default: 4096)
474 /// Prevents connection exhaustion DoS attacks 474 /// Prevents connection exhaustion DoS attacks
475 #[arg(long, env = "NGIT_MAX_CONNECTIONS", default_value_t = 500)] 475 #[arg(long, env = "NGIT_MAX_CONNECTIONS", default_value_t = 4096)]
476 pub max_connections: usize, 476 pub max_connections: usize,
477} 477}
478 478