summaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/fsm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/fsm.go b/server/fsm.go
index cc4fb95f..05e2c4fb 100644
--- a/server/fsm.go
+++ b/server/fsm.go
@@ -865,7 +865,7 @@ func keepaliveTicker(fsm *FSM) *time.Ticker {
}
sec := time.Second * time.Duration(fsm.pConf.Timers.State.KeepaliveInterval)
if sec == 0 {
- sec = 1
+ sec = time.Second
}
return time.NewTicker(sec)
}