Browse Source

En cours de développement

master
losyme 7 months ago
parent
commit
3147cb8715
  1. 6
      workers/worker.go

6
workers/worker.go

@ -61,11 +61,11 @@ func (w *worker) maybeRunJob() (duration time.Duration) {
defer func() {
if data := recover(); data != nil {
w.logger.Fatal("PANIC ERROR RECOVERED", "data", data) //::::::::::::::::::::::::::::::::::::::::::::::::::::
}
duration = 5 * time.Second
duration = 5 * time.Second
w.stop()
w.stop()
}
}()
job, err := w.runner.Model().NextJob(w.runner.Namespace())

Loading…
Cancel
Save