mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
1b086443ca
commit
271be4e9bd
@ -293,7 +293,7 @@ class Worker(object):
|
|||||||
except CompileFailure as e:
|
except CompileFailure as e:
|
||||||
self.log.error(e.message)
|
self.log.error(e.message)
|
||||||
time.sleep(0.1 * self.retry_count)
|
time.sleep(0.1 * self.retry_count)
|
||||||
if self.retry_count < MAX_RETRIES:
|
if self.retry_count < MAX_RETRIES and self.wakeup is not None:
|
||||||
self.wakeup() # Force a restart
|
self.wakeup() # Force a restart
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user