Browse Source

En cours de développement

master
losyme 2 months ago
parent
commit
970fb63e79
  1. 2
      internal/storage/mongo/next.go

2
internal/storage/mongo/next.go

@ -79,7 +79,7 @@ func (ms *mongoStorage) NextJob(namespace string, fn storage.SelectNextJob) (*jw
}
job, err := fn(jr, jtr)
if err != nil {
if job == nil || err != nil {
return nil, err
}

Loading…
Cancel
Save