Add state.HealthCheck to isActive

This commit is contained in:
Evgeniy Kulikov 2020-02-13 17:31:33 +03:00
parent b8a6af43aa
commit fbfab8cae7
No known key found for this signature in database
GPG key ID: BF6AEE0A2A699BF2
3 changed files with 25 additions and 8 deletions

View file

@ -96,7 +96,7 @@ func settings() *viper.Viper {
// keepalive:
v.SetDefault("keepalive.timeout", time.Second*10)
v.SetDefault("keepalive.time", time.Millisecond*100)
v.SetDefault("keepalive.time", time.Second*10) // If set below 10s, a minimum value of 10s will be used instead.
v.SetDefault("keepalive.permit_without_stream", true)
if err := v.BindPFlags(flags); err != nil {