From c3e458b513f82cc2955d3327f046678e2927c46d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 25 Feb 2017 15:43:41 +0300 Subject: increase sqlite timeout a bit --- backend.php | 2 +- index.php | 2 +- 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"]); 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); ?> diff --git a/read.html b/read.html index d64bc3f..e6f8f04 100644 --- a/read.html +++ b/read.html @@ -138,7 +138,7 @@ -- cgit v1.2.3