Skip to content

Commit

Permalink
adding timeout to pruning
Browse files Browse the repository at this point in the history
  • Loading branch information
ranlavanet committed Apr 11, 2024
1 parent a7ed424 commit bf8eef4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protocol/lavasession/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import (

const (
MaxConsecutiveConnectionAttempts = 5
TimeoutForEstablishingAConnection = 1 * time.Second
MaxSessionsAllowedPerProvider = 1000 // Max number of sessions allowed per provider
TimeoutForEstablishingAConnection = 1500 * time.Millisecond // 1.5 seconds
MaxSessionsAllowedPerProvider = 1000 // Max number of sessions allowed per provider
MaxAllowedBlockListedSessionPerProvider = 3
MaximumNumberOfFailuresAllowedPerConsumerSession = 3
RelayNumberIncrement = 1
Expand Down

0 comments on commit bf8eef4

Please sign in to comment.