Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
e841e11168 |
@ -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 {
|
||||
|
Reference in New Issue
Block a user