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()
|
compile_srv()
|
||||||
except CompileFailure as e:
|
except CompileFailure as e:
|
||||||
print(e.message, file=sys.stderr)
|
print(e.message, file=sys.stderr)
|
||||||
print('Retrying in two seconds')
|
print('Retrying in one second')
|
||||||
time.sleep(2)
|
time.sleep(1)
|
||||||
continue
|
continue
|
||||||
break
|
break
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user