summaryrefslogtreecommitdiffstats
path: root/qarsh.spec
diff options
context:
space:
mode:
authorNathan Straz <nstraz@redhat.com>2014-07-22 13:07:19 -0400
committerNathan Straz <nstraz@redhat.com>2014-07-22 13:07:19 -0400
commit3ee89ea3fa03f6f98a92d38e68946de29db98f54 (patch)
treed2c130f47fd57265e236294a9c72f544b51bc6ac /qarsh.spec
parent10a03d9299757a14525e1177ef34f68b316be1f0 (diff)
downloadqarsh-3ee89ea3fa03f6f98a92d38e68946de29db98f54.tar.gz
qarsh-3ee89ea3fa03f6f98a92d38e68946de29db98f54.tar.xz
qarsh-3ee89ea3fa03f6f98a92d38e68946de29db98f54.zip
[qarshd] Fix timeout when child exits
We ran into an issue where qarsh would wait for 3 seconds after a command ran. This was traced back to the select() in handle_qarsh() being restarted when SIGCHLD was received. I moved the waitpid() to just before the select() and turned off the signal restart. This closes those timing windows and allows qarshd to quickly finish after the child exits.
Diffstat (limited to 'qarsh.spec')
0 files changed, 0 insertions, 0 deletions