mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Reduce auto-retry on failure time to one second
This commit is contained in:
parent
7fa3db93af
commit
d4a7f06524
@ -227,8 +227,8 @@ class Worker(object):
|
||||
compile_srv()
|
||||
except CompileFailure as e:
|
||||
print(e.message, file=sys.stderr)
|
||||
print('Retrying in two seconds')
|
||||
time.sleep(2)
|
||||
print('Retrying in one second')
|
||||
time.sleep(1)
|
||||
continue
|
||||
break
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user