mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-07-29 17:58:36 -04:00
fix wasm
add connection limits
This commit is contained in:
parent
6ad1f60a61
commit
3b2f4d184f
15 changed files with 433 additions and 60 deletions
|
@ -38,9 +38,12 @@ Future<VeilidConfig> getDefaultVeilidConfig() async {
|
|||
delete: false,
|
||||
),
|
||||
network: VeilidConfigNetwork(
|
||||
maxConnections: 16,
|
||||
connectionInitialTimeoutMs: 2000,
|
||||
connectionInactivityTimeoutMs: 60000,
|
||||
maxConnectionsPerIp4: 8,
|
||||
maxConnectionsPerIp6Prefix: 8,
|
||||
maxConnectionsPerIp6PrefixSize: 56,
|
||||
maxConnectionFrequencyPerMin: 8,
|
||||
clientWhitelistTimeoutMs: 300000,
|
||||
nodeId: "",
|
||||
nodeIdSecret: "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue