Skip to content

Commit

Permalink
Increase re-key message limit
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaavi committed Aug 8, 2022
1 parent c0d050e commit 93372c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion session-wire.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)
Expand Down

0 comments on commit 93372c3

Please sign in to comment.