Fixed new microservice-worker architecture to not duplicate executions

This commit is contained in:
frikky
2021-12-21 00:17:13 +01:00
parent 9e8cc0e91e
commit bd248ef7f1
4 changed files with 54 additions and 39 deletions
+1 -1
View File
@@ -412,7 +412,7 @@ func handleWorkflowQueue(resp http.ResponseWriter, request *http.Request) {
}
//log.Printf("Actionresult unmarshal: %s", string(body))
log.Printf("[DEBUG] Got workflow result from %s of length %d", request.RemoteAddr, len(body))
log.Printf("[DEBUG] Got workflow result from %s of length %d. \n\nBody: %s\n\n", request.RemoteAddr, len(body), string(body))
err = shuffle.ValidateNewWorkerExecution(body)
if err == nil {
resp.WriteHeader(200)