Skip to content

Commit

Permalink
Merge branch 'no_uring' into uring
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia committed Dec 31, 2023
2 parents da3e62c + 4423608 commit 5b7a7c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,13 @@ func getPingPongPeriodValues(config PingPongConfig) (time.Duration, time.Duratio
if pingInterval < 0 {
pingInterval = 0
} else if pingInterval == 0 {
pingInterval = 25 * time.Second
pingInterval = 4 * time.Second
}
pongTimeout := config.PongTimeout
if pongTimeout < 0 {
pongTimeout = 0
} else if pongTimeout == 0 {
pongTimeout = 10 * time.Second
pongTimeout = 3 * time.Second
}
return pingInterval, pongTimeout
}

0 comments on commit 5b7a7c5

Please sign in to comment.