From 84c39f3baabbb2b93a73bb16878c5501b4460fbd Mon Sep 17 00:00:00 2001 From: shortcutme Date: Mon, 18 Mar 2019 03:33:51 +0100 Subject: [PATCH] Less sensitive db progress handler --- src/Db/Db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Db/Db.py b/src/Db/Db.py index 00495033..cda243a5 100644 --- a/src/Db/Db.py +++ b/src/Db/Db.py @@ -84,7 +84,7 @@ class Db(object): self.log.debug("Db file not exist yet: %s" % self.db_path) self.conn = sqlite3.connect(self.db_path, isolation_level="DEFERRED") self.conn.row_factory = sqlite3.Row - self.conn.set_progress_handler(self.progress, 100000) + self.conn.set_progress_handler(self.progress, 5000000) self.cur = self.getCursor() self.log.debug( "Connected to %s in %.3fs (opened: %s, sqlite version: %s)..." %