mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
increase timeout for preparing books to 10 mins for very large books/slow machines
This commit is contained in:
parent
bfc2c86a52
commit
5de21eddab
@ -31,7 +31,7 @@ def book_cache_dir():
|
||||
|
||||
|
||||
def cache_lock():
|
||||
return ExclusiveFile(os.path.join(book_cache_dir(), 'metadata.json'))
|
||||
return ExclusiveFile(os.path.join(book_cache_dir(), 'metadata.json'), timeout=600)
|
||||
|
||||
|
||||
def book_hash(path, size, mtime):
|
||||
|
Loading…
x
Reference in New Issue
Block a user