secure transport: allow more sessions

Sessions were limited to 256 for some reason.
For large scale operation it makes sense to allow more
open sessions (symmetric key sessions).

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
Csaba Kiraly 2023-09-03 14:10:40 +02:00
parent 60f079e8b6
commit 5ae5295f26
No known key found for this signature in database
GPG Key ID: 0FE274EE8C95166E
1 changed files with 1 additions and 1 deletions

View File

@ -217,5 +217,5 @@ proc newTransport*[T](
codec: Codec(
localNode: localNode,
privKey: privKey,
sessions: Sessions.init(256)),
sessions: Sessions.init(100000)),
rng: rng)