From 87a5aa088ce33a1196ff409b76a9ea8233bdc634 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Wed, 30 Dec 2020 18:41:48 -0500 Subject: New upstream version 1.16.1. --- gallery_dl/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gallery_dl/cache.py') 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 -- cgit v1.2.3