Skip to content

Commit

Permalink
change default ping times
Browse files Browse the repository at this point in the history
  • Loading branch information
Termina1 committed Sep 6, 2024
1 parent ac3c544 commit 523476c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chotki.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ func (o *Options) SetDefaults() {
}

if o.PingPeriod == 0 {
o.PingPeriod = 10 * time.Second
o.PingPeriod = 30 * time.Second
}

if o.PingWait == 0 {
o.PingWait = 3 * time.Second
o.PingWait = 10 * time.Second
}

o.Merger = &pebble.Merger{
Expand Down

0 comments on commit 523476c

Please sign in to comment.