summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-02-25 15:43:41 +0300
committerAndrew Dolgov <[email protected]>2017-02-25 15:43:41 +0300
commitc3e458b513f82cc2955d3327f046678e2927c46d (patch)
treeb8e3fbd162da0b26806756658287f7be80fd6091
parentbc6e20d282e0cc6152fb3b7a99ef79aef08388d3 (diff)
increase sqlite timeout a bit
-rw-r--r--backend.php2
-rw-r--r--index.php2
-rw-r--r--read.html2
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"]);
diff --git a/index.php b/index.php
index 15aa896..cf10045 100644
--- a/index.php
+++ b/index.php
@@ -10,7 +10,7 @@
}
$ldb = new SQLite3(SCRATCH_DB);
- $ldb->busyTimeout(10*1000);
+ $ldb->busyTimeout(30*1000);
?>
<!DOCTYPE html>
<html>
diff --git a/read.html b/read.html
index d64bc3f..e6f8f04 100644
--- a/read.html
+++ b/read.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>