smp: increase server and default agent queue sizes (#1335)

This commit is contained in:
Evgeny
2024-09-25 18:33:45 +01:00
committed by GitHub
parent 81fcdf8ac9
commit 1afa0206a5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ defaultAgentConfig =
rcvAuthAlg = C.AuthAlg C.SEd25519, -- this will stay as Ed25519
sndAuthAlg = C.AuthAlg C.SEd25519, -- TODO replace with X25519 when switching to v7
connIdBytes = 12,
tbqSize = 64,
tbqSize = 128,
smpCfg = defaultSMPClientConfig {defaultTransport = (show defaultSMPPort, transport @TLS)},
ntfCfg = defaultNTFClientConfig {defaultTransport = ("443", transport @TLS)},
xftpCfg = defaultXFTPClientConfig,
+1 -1
View File
@@ -256,7 +256,7 @@ smpServerCLI_ generateSite serveStaticFiles cfgPath logPath =
ServerConfig
{ transports = iniTransports ini,
smpHandshakeTimeout = 120000000,
tbqSize = 64,
tbqSize = 128,
msgQueueQuota = 128,
queueIdBytes = 24,
msgIdBytes = 24, -- must be at least 24 bytes, it is used as 192-bit nonce for XSalsa20