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:
parent
4fd97a4a66
commit
a5eadbf456
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user