summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-30 01:15:00 -0600
committerJeff Carr <[email protected]>2025-01-30 01:15:00 -0600
commitffb90cd28f4e166af5e7fc00d34a0b38516ddb21 (patch)
tree219882980a57ae01dd8bd6a4bc6017079b50e6a0 /main.go
parentf690c1a8a328d1b136af728538c418849391e572 (diff)
this process is annoying
Diffstat (limited to 'main.go')
-rw-r--r--main.go20
1 files changed, 11 insertions, 9 deletions
diff --git a/main.go b/main.go
index 62753f3..6436776 100644
--- a/main.go
+++ b/main.go
@@ -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()
}