Make queries async for better TUI performance when sqlite is slow

This commit is contained in:
David Dworken
2023-08-27 11:42:17 -07:00
parent e9adb44f6b
commit a79d401058
2 changed files with 58 additions and 27 deletions

View File

@ -360,7 +360,7 @@ func CompareGoldens(t *testing.T, out, goldenName string) {
}
func normalizeHostnames(data string) string {
hostnames := []string{"Davids-MacBook-Air.local", "ghaction-runner-hostname"}
hostnames := []string{"Davids-MacBook-Air.local", "ghaction-runner-hostname", "Davids-Air"}
for _, hostname := range hostnames {
data = strings.ReplaceAll(data, hostname, "ghaction-runner-hostname")
}