main
Bel LaPointe 2025-06-23 12:26:10 -06:00
parent d05789b36b
commit 572f129ddb
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ func alertsAfter(ctx context.Context, dur time.Duration, msg string) (chan strin
defer close(ch)
for ctx.Err() == nil && time.Now().Before(deadline) {
seconds := int(time.Until(deadline).Seconds())
fmt.Printf("\r%v ", time.Duration(seconds)*time.Second)
fmt.Printf("\r%v ", time.Duration(seconds)*time.Second)
select {
case <-ctx.Done():
case <-time.After(time.Second):