From 1232de8ffaba28ba9e802fc924c2ea6e79f31281 Mon Sep 17 00:00:00 2001 From: Drew Weymouth Date: Sun, 15 Jan 2023 13:14:52 -0800 Subject: [PATCH] increase sleep time to reduce occasional app startup race condition on linux --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 1d69e1e..b7f5f2e 100644 --- a/main.go +++ b/main.go @@ -37,7 +37,7 @@ func main() { // This makes it much less likely to occur (not seen on dozens of startups) // but is a hacky "solution"! go func() { - time.Sleep(75 * time.Millisecond) + time.Sleep(250 * time.Millisecond) defaultServer := myApp.Config.GetDefaultServer() if defaultServer == nil { mainWindow.PromptForFirstServer(func(nick, host, user, pass string) {