From 8cc19ed0892137a77d95250ffe1e5bc29ff2ebaf Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 6 Dec 2012 11:43:34 +0100 Subject: [PATCH] Set a long SQLite timeout in the binary cache substituter --- doc/manual/release-notes.xml | 2 +- scripts/download-from-binary-cache.pl.in | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/manual/release-notes.xml b/doc/manual/release-notes.xml index 456e34605..c58a84edd 100644 --- a/doc/manual/release-notes.xml +++ b/doc/manual/release-notes.xml @@ -8,7 +8,7 @@ -
Release 1.2 (December 5, 2012) +
Release 1.2 (December 6, 2012) This release has the following improvements and changes: diff --git a/scripts/download-from-binary-cache.pl.in b/scripts/download-from-binary-cache.pl.in index 20d60e06e..b82246671 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");