Fix docstring for monitor_work_horse

main
Yannis Spiliopoulos 9 years ago
parent f9d5897922
commit c4fd1659ea

@ -516,9 +516,9 @@ class Worker(object):
self.procline('Forked {0} at {1}'.format(child_pid, time.time())) self.procline('Forked {0} at {1}'.format(child_pid, time.time()))
def monitor_work_horse(self, job): def monitor_work_horse(self, job):
"""The worker will wait for the work horse and make sure it executes """The worker will monitor the work horse and make sure that it
within the given timeout bounds, or will end the work horse with either executes successfully or the status of the job is set to
SIGALRM. failed
""" """
while True: while True:
try: try:

Loading…
Cancel
Save