1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-01-18 13:07:58 +00:00

Aha, this was the bottleneck

This commit is contained in:
Romein van Buren 2023-05-28 13:57:10 +02:00
parent 4fd97a4a66
commit a5eadbf456
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49

View File

@ -2,7 +2,6 @@ package app
import ( import (
"encoding/json" "encoding/json"
"time"
"github.com/ncruces/zenity" "github.com/ncruces/zenity"
"github.com/wailsapp/wails/v2/pkg/runtime" "github.com/wailsapp/wails/v2/pkg/runtime"
@ -24,7 +23,6 @@ type QueryResult struct {
} }
func (a *App) FindItems(hostKey, dbKey, collKey, formJson string) QueryResult { func (a *App) FindItems(hostKey, dbKey, collKey, formJson string) QueryResult {
time.Sleep(2 * time.Second)
var out QueryResult var out QueryResult
var form Query var form Query