dispatcher: run "wait" scripts only after "no-wait" scripts complete
authorThomas Haller <thaller@redhat.com>
Mon, 27 Jul 2015 20:44:56 +0000 (22:44 +0200)
committerBeniamino Galvani <bgalvani@redhat.com>
Tue, 25 Aug 2015 13:27:18 +0000 (15:27 +0200)
commite97a334e375b936ac66864e6d69ffe75ffa22aa9
treeb97a6119d62fb076b971905577aa640686d728cb
parent1999723241c49a7f2d5052d34299aad3d6e26e41
dispatcher: run "wait" scripts only after "no-wait" scripts complete

Previously, dispatcher would start all "no-wait" script right away,
but it would also start the first "wait" script while the "no-wait"
script are still running (unless, there are other "wait" scripts that
delay the execution).

Now, do not start processing the "wait" scripts, as long as there are
any "no-wait" scripts from the same request running.
callouts/nm-dispatcher.c