diff --git a/pkg/srv/http/http_health.go b/pkg/srv/http/http_health.go index aaaadc2..7551205 100644 --- a/pkg/srv/http/http_health.go +++ b/pkg/srv/http/http_health.go @@ -55,7 +55,7 @@ func handleHealthCheckFunc(ctx context.Context, hcFuncs ...opts.HealthCheckFunc) } func dummyHealthCheck(ctx context.Context) error { - workFor := rand.Intn(750) + workFor := rand.Intn(740) + 10 // ensure positive ticker := time.NewTicker(time.Duration(time.Duration(workFor) * time.Millisecond)) select {