summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/src/leap/soledad/client/adbapi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/leap/soledad/client/adbapi.py b/client/src/leap/soledad/client/adbapi.py
index 2bc146bd..a60970c0 100644
--- a/client/src/leap/soledad/client/adbapi.py
+++ b/client/src/leap/soledad/client/adbapi.py
@@ -45,12 +45,12 @@ logger = getLogger(__name__)
How long the SQLCipher connection should wait for the lock to go away until
raising an exception.
"""
-SQLCIPHER_CONNECTION_TIMEOUT = 5
+SQLCIPHER_CONNECTION_TIMEOUT = 10
"""
How many times a SQLCipher query should be retried in case of timeout.
"""
-SQLCIPHER_MAX_RETRIES = 10
+SQLCIPHER_MAX_RETRIES = 20
def getConnectionPool(opts, openfun=None, driver="pysqlcipher"):