From 588579665049de998bd1800c71e72ad74ac51f76 Mon Sep 17 00:00:00 2001 From: David Schlachter Date: Tue, 11 Nov 2025 00:27:39 -0500 Subject: Ensure we always sleep in the loop --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index bf58df2..b655142 100644 --- a/main.go +++ b/main.go @@ -65,7 +65,7 @@ func main() { err = readInput(p) if err != nil { log.Printf("Error reading input: %s", err) - continue + goto SLEEP } for inputLine, taskAddingJob := range jobsFromInput { @@ -88,6 +88,7 @@ func main() { } } + SLEEP: time.Sleep(time.Minute) } -- cgit v1.2.3