Increase re-key message limit

This commit is contained in:
Daniel 2022-08-08 14:46:13 +02:00
parent c0d050e34c
commit 93372c3219

View file

@ -17,7 +17,10 @@ const (
)
var (
wireReKeyAfterMsgs uint64 = 100000 // re-exchange keys every 100000 messages
// Re-exchange keys every x messages.
// At 10_000_000 msgs with 1500 bytes per msg, this would result in
// re-exchanging keys every 15 GB.
wireReKeyAfterMsgs uint64 = 10_000_000
requiredWireSessionRequirements = NewRequirements().Remove(SenderAuthentication)
)