From 09ab560dd5bbbabfb055bd9c7e9b1e941165bb3b Mon Sep 17 00:00:00 2001 From: Frikky Date: Wed, 17 Jan 2024 10:52:59 +0100 Subject: [PATCH] Disabled orborus stats by default --- backend/go-app/walkoff.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/backend/go-app/walkoff.go b/backend/go-app/walkoff.go index 7c23a1cc..68c2c107 100755 --- a/backend/go-app/walkoff.go +++ b/backend/go-app/walkoff.go @@ -308,8 +308,13 @@ func handleGetWorkflowqueue(resp http.ResponseWriter, request *http.Request) { environment = env.OrgId } - if request.Method == "POST" { - if rand.Intn(1) == 0 { + // FIXME: Workflow stats disabled for now + // as it caused too many problems + // goal: track docker stuff once a minute and graph it + // For now: Disable this as it caused too many problems + if request.Method == "POST" && true == false { + //log.Printf("[DEBUG] POST to workflowqueue") + if rand.Intn(10) == 0 { // Parse out body body, err := ioutil.ReadAll(request.Body) if err == nil {