Set a long SQLite timeout in the binary cache substituter

This commit is contained in:
Eelco Dolstra 2012-12-06 11:43:34 +01:00
parent 52edef3495
commit 8cc19ed089
2 changed files with 3 additions and 1 deletions

View file

@ -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>

View file

@ -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");