Increase re-key message limit
This commit is contained in:
parent
c0d050e34c
commit
93372c3219
1 changed files with 4 additions and 1 deletions
|
@ -17,7 +17,10 @@ const (
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
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)
|
requiredWireSessionRequirements = NewRequirements().Remove(SenderAuthentication)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue