From a5eadbf4564e05ecaa6bdcd8713a1114103c922c Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Sun, 28 May 2023 13:57:10 +0200 Subject: [PATCH] Aha, this was the bottleneck --- internal/app/collection_find.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/app/collection_find.go b/internal/app/collection_find.go index 4ab1128..316a253 100644 --- a/internal/app/collection_find.go +++ b/internal/app/collection_find.go @@ -2,7 +2,6 @@ package app import ( "encoding/json" - "time" "github.com/ncruces/zenity" "github.com/wailsapp/wails/v2/pkg/runtime" @@ -24,7 +23,6 @@ type QueryResult struct { } func (a *App) FindItems(hostKey, dbKey, collKey, formJson string) QueryResult { - time.Sleep(2 * time.Second) var out QueryResult var form Query