version 0.4.87

This commit is contained in:
Kovid Goyal 2008-09-26 14:34:55 -07:00
parent 28d7d55a69
commit a1632735f8
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ __license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net' __copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net'
__docformat__ = 'restructuredtext en' __docformat__ = 'restructuredtext en'
__appname__ = 'calibre' __appname__ = 'calibre'
__version__ = '0.4.86' __version__ = '0.4.87'
__author__ = "Kovid Goyal <kovid@kovidgoyal.net>" __author__ = "Kovid Goyal <kovid@kovidgoyal.net>"
''' '''
Various run time constants. Various run time constants.

View File

@ -484,9 +484,9 @@ class Overseer(object):
self.terminate() self.terminate()
self.job.exception = ControlError('Worker sent invalid msg: %s'%repr(msg)) self.job.exception = ControlError('Worker sent invalid msg: %s'%repr(msg))
return return
if not self.worker_status.is_alive() or time.time() - self.last_report > 180: if not self.worker_status.is_alive() or time.time() - self.last_report > 380:
self.terminate() self.terminate()
self.job.exception = ControlError('Worker process died unexpectedly with returncode: %s'%str(self.process.returncode)) self.job.exception = ControlError('Worker process died unexpectedly')
return return
class JobKilled(Exception): class JobKilled(Exception):