diff options
| author | Jeff Carr <[email protected]> | 2025-01-30 01:15:00 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-30 01:15:00 -0600 |
| commit | ffb90cd28f4e166af5e7fc00d34a0b38516ddb21 (patch) | |
| tree | 219882980a57ae01dd8bd6a4bc6017079b50e6a0 /main.go | |
| parent | f690c1a8a328d1b136af728538c418849391e572 (diff) | |
this process is annoying
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -74,9 +74,6 @@ func main() { } me.mainBox = me.mainWindow.NewBox("bw hbox", true) - // start the http server for polling status - go startHTTP() - // sanity check of things that might be around that mess // up things later // if you have a go.work file, you must delete it @@ -131,10 +128,15 @@ func main() { me.Enable() me.release.box.Enable() - // intermittently scans the status indefinitly - me.repos.View.Watchdog(func() { - log.Info("In main()") - // processing is done. update the repo summary box - // me.summary.Update() - }) + /* + // intermittently scans the status indefinitly + me.repos.View.Watchdog(func() { + log.Info("In main()") + log.Sleep(10) + // processing is done. update the repo summary box + // me.summary.Update() + }) + */ + // start the http server for polling status + startHTTP() } |
