summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-12-06 11:43:34 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-12-06 11:43:34 +0100
commit8cc19ed0892137a77d95250ffe1e5bc29ff2ebaf (patch)
tree991695c5f795a789676df5be2ab9927ddaf567fe
parent52edef34950354ecccbe8e1bf3f1aced3872b5c0 (diff)
downloadguix-8cc19ed0892137a77d95250ffe1e5bc29ff2ebaf.tar.gz
Set a long SQLite timeout in the binary cache substituter
-rw-r--r--doc/manual/release-notes.xml2
-rw-r--r--scripts/download-from-binary-cache.pl.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/manual/release-notes.xml b/doc/manual/release-notes.xml
index 456e346050..c58a84eddb 100644
--- a/doc/manual/release-notes.xml
+++ b/doc/manual/release-notes.xml
@@ -8,7 +8,7 @@
 
 <!--==================================================================-->
 
-<section xml:id="ssec-relnotes-1.2"><title>Release 1.2 (December 5, 2012)</title>
+<section xml:id="ssec-relnotes-1.2"><title>Release 1.2 (December 6, 2012)</title>
 
 <para>This release has the following improvements and changes:</para>
 
diff --git a/scripts/download-from-binary-cache.pl.in b/scripts/download-from-binary-cache.pl.in
index 20d60e06e6..b822466719 100644
--- a/scripts/download-from-binary-cache.pl.in
+++ b/scripts/download-from-binary-cache.pl.in
@@ -112,6 +112,8 @@ sub initCache {
     $dbh->{RaiseError} = 1;
     $dbh->{PrintError} = 0;
 
+    $dbh->sqlite_busy_timeout(60 * 60 * 1000);
+
     $dbh->do("pragma synchronous = off"); # we can always reproduce the cache
     $dbh->do("pragma journal_mode = truncate");