Merge branch 'main' of gitea.libretechconsulting.com:rmcguire/go-app

This commit is contained in:
2025-08-13 16:02:00 -04:00
4 changed files with 22 additions and 21 deletions

View File

@@ -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 {