mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 09:55:44 +03:00
Debug log for skipping overlapping periodic jobs
This commit is contained in:
@@ -336,6 +336,9 @@ func (p *PeriodicDispatch) dispatch(job *structs.Job, launchTime time.Time) {
|
||||
}
|
||||
|
||||
if running {
|
||||
msg := fmt.Sprintf("[DEBUG] nomad.periodic: skipping launch of"+
|
||||
" periodic job %q because job prohibits overlap", job.ID)
|
||||
p.logger.Println(msg)
|
||||
p.l.Unlock()
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user