Skip to content
Snippets Groups Projects
Commit 5f365661 authored by Jonas Leder's avatar Jonas Leder
Browse files

run singlethreaded again

parent 854d4cc0
Branches
No related tags found
No related merge requests found
Pipeline #54587 passed
...@@ -20,7 +20,6 @@ func Run() { ...@@ -20,7 +20,6 @@ func Run() {
continue continue
} }
log.Log.Debug("Received new task: ", taskData) log.Log.Debug("Received new task: ", taskData)
go func() {
var task types.Task var task types.Task
err = json.Unmarshal([]byte(taskData), &task) err = json.Unmarshal([]byte(taskData), &task)
if err != nil { if err != nil {
...@@ -59,6 +58,5 @@ func Run() { ...@@ -59,6 +58,5 @@ func Run() {
log.Log.Error("Failed marking element in queue as done: ", err.Error()) log.Log.Error("Failed marking element in queue as done: ", err.Error())
} }
log.Log.Info("Stored boiler data in database") log.Log.Info("Stored boiler data in database")
}()
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment