From 523476cf4c36e4bd1918685810ab97837b6e7c09 Mon Sep 17 00:00:00 2001 From: Termina1 Date: Fri, 6 Sep 2024 14:51:41 +0300 Subject: [PATCH] change default ping times --- chotki.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chotki.go b/chotki.go index ee16727..9b9a38a 100644 --- a/chotki.go +++ b/chotki.go @@ -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{