chiark / gitweb /
job: always add waiting jobs to run queue during coldplug
authorMichael Marineau <michael.marineau@coreos.com>
Mon, 12 May 2014 07:26:16 +0000 (09:26 +0200)
committerMichal Sekletar <msekleta@redhat.com>
Mon, 12 May 2014 07:32:06 +0000 (09:32 +0200)
commit1727a595225132eb73ec134b6979d9c713b42e8c
tree2d3de7c13fdcde74febe3446a1e869a9fc51ae7b
parentfbbeb65a93e2f90f6576001b69def877cd98722d
job: always add waiting jobs to run queue during coldplug

commit 20a83d7bf was not equivalent to the original bug fix proposed by
Michal Sekletar <msekleta@redhat.com>. The committed version only added
the job to the run queue if the job had a timeout, which most jobs do
not have. Just re-ordering the code gets us the intended functionality
src/core/job.c