From 8cc19ed0892137a77d95250ffe1e5bc29ff2ebaf Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 6 Dec 2012 11:43:34 +0100 Subject: Set a long SQLite timeout in the binary cache substituter --- scripts/download-from-binary-cache.pl.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/download-from-binary-cache.pl.in') 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"); -- cgit v1.2.3