increase sleep time to reduce occasional app startup race condition on linux

This commit is contained in:
Drew Weymouth
2023-01-15 13:14:52 -08:00
parent fb97845184
commit 1232de8ffa
+1 -1
View File
@@ -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) {