Fixed frontend speed issues

This commit is contained in:
frikky
2021-01-22 11:10:01 +01:00
parent e72b13e9c9
commit 4f1e618042
7 changed files with 50 additions and 25 deletions
+3
View File
@@ -6582,6 +6582,9 @@ func verifySwagger(resp http.ResponseWriter, request *http.Request) {
log.Printf("Failed to increase success execution stats: %s", err)
}
cacheKey := fmt.Sprintf("workflowapps-sorted")
requestCache.Delete(cacheKey)
resp.WriteHeader(200)
resp.Write([]byte(fmt.Sprintf(`{"success": true, "id": "%s"}`, api.ID)))
}