diff options
author | Andrew Dolgov <[email protected]> | 2017-02-25 15:43:41 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-02-25 15:43:41 +0300 |
commit | c3e458b513f82cc2955d3327f046678e2927c46d (patch) | |
tree | b8e3fbd162da0b26806756658287f7be80fd6091 | |
parent | bc6e20d282e0cc6152fb3b7a99ef79aef08388d3 (diff) |
increase sqlite timeout a bit
-rw-r--r-- | backend.php | 2 | ||||
-rw-r--r-- | index.php | 2 | ||||
-rw-r--r-- | read.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/backend.php b/backend.php index 4a19916..d14c92f 100644 --- a/backend.php +++ b/backend.php @@ -7,7 +7,7 @@ header("Content-type: text/json"); $ldb = new SQLite3(SCRATCH_DB); - $ldb->busyTimeout(10*1000); + $ldb->busyTimeout(30*1000); $owner = SQLite3::escapeString($_SERVER["PHP_AUTH_USER"]); @@ -10,7 +10,7 @@ } $ldb = new SQLite3(SCRATCH_DB); - $ldb->busyTimeout(10*1000); + $ldb->busyTimeout(30*1000); ?> <!DOCTYPE html> <html> @@ -138,7 +138,7 @@ <div class="footer"> <div class="location"> - <span id="cur_page">-1</span> / <span id="total_pages">-1</span> + Loc: <span id="cur_page">-1</span> / <span id="total_pages">-1</span> </div> </div> |