From 732af2a87e4a60ab930f988fc3b9ea1e205bfb48 Mon Sep 17 00:00:00 2001 From: Owen Date: Thu, 10 Sep 2026 15:07:20 -0400 Subject: [PATCH] Add testing 2 second timeout --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index d9a9a17..f205d87 100644 --- a/main.go +++ b/main.go @@ -205,7 +205,8 @@ func runNewtMain(ctx context.Context) { } } go func() { - time.Sleep(2 * time.Minute) + time.Sleep(2 * time.Minute) // for production + // time.Sleep(10 * time.Second) // for testing, check for updates after 10 seconds doUpdate() ticker := time.NewTicker(6 * time.Hour) defer ticker.Stop()