mirror of
https://github.com/fosrl/newt.git
synced 2026-09-18 20:09:07 +02:00
Add testing 2 second timeout
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user