jobd: shotgun fixes for new job handling
commit0fdf2b894e27cb34c2793c7b1eb21776f823c888
authorJan Krüger <jk@jk.gs>
Fri, 5 Nov 2010 05:17:54 +0000 (5 06:17 +0100)
committerJan Krüger <jk@jk.gs>
Fri, 5 Nov 2010 05:17:54 +0000 (5 06:17 +0100)
tree9d07ec0a06e74df9b89a980ebbec451642411872
parentbb3365336691239790cfc5b2e46288751d5eeadd
jobd: shotgun fixes for new job handling

- Disconnect child processes from our STDIN to prevent confusing them
- Shorten delay in children to prevent annoying slowdowns
- Don't consider processes for hang checks if they are not running in
  the first place
- Simplify and correctify code for running success/error handlers

Signed-off-by: Jan Krüger <jk@jk.gs>
jobd/jobd.pl