summaryrefslogtreecommitdiffstats
path: root/gallery_dl/cache.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2020-12-30 18:41:48 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2020-12-30 18:41:48 -0500
commit87a5aa088ce33a1196ff409b76a9ea8233bdc634 (patch)
tree7e6155edcc5dd12e40b47ad814b3bc69e65c52fc /gallery_dl/cache.py
parent8f7c87a2697113134c311aaeafd9c919555a2741 (diff)
New upstream version 1.16.1.upstream/1.16.1
Diffstat (limited to 'gallery_dl/cache.py')
-rw-r--r--gallery_dl/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/cache.py b/gallery_dl/cache.py
index 3886091..a874f63 100644
--- a/gallery_dl/cache.py
+++ b/gallery_dl/cache.py
@@ -210,6 +210,6 @@ try:
os.close(os.open(dbfile, os.O_CREAT | os.O_RDONLY, 0o600))
DatabaseCacheDecorator.db = sqlite3.connect(
- dbfile, timeout=30, check_same_thread=False)
+ dbfile, timeout=60, check_same_thread=False)
except (OSError, TypeError, sqlite3.OperationalError):
cache = memcache # noqa: F811