]> git.sthu.org Git - paralleljobs.git/commitdiff
increase sqlite3 timeout
authorStefan Huber <shuber@sthu.org>
Fri, 17 May 2013 14:15:43 +0000 (16:15 +0200)
committerStefan Huber <shuber@sthu.org>
Fri, 17 May 2013 14:15:43 +0000 (16:15 +0200)
paralleljobs.py

index 465efdf777622f4e215b42960606e3714af89d61..890ff35d9bd5aaabb619cb2fb0dbeb85170a4e07 100755 (executable)
@@ -250,7 +250,7 @@ if __name__ == "__main__":
         print("No database given.")
         sys.exit(os.EX_USAGE)
 
-    conn = sqlite3.connect(dbfn)
+    conn = sqlite3.connect(dbfn, timeout=60)
     createSchema(conn)
 
     if status: