mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 00:08:07 +02:00
Set a long SQLite timeout in the binary cache substituter
This commit is contained in:
parent
52edef3495
commit
8cc19ed089
2 changed files with 3 additions and 1 deletions
|
@ -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>
|
<para>This release has the following improvements and changes:</para>
|
||||||
|
|
||||||
|
|
|
@ -112,6 +112,8 @@ sub initCache {
|
||||||
$dbh->{RaiseError} = 1;
|
$dbh->{RaiseError} = 1;
|
||||||
$dbh->{PrintError} = 0;
|
$dbh->{PrintError} = 0;
|
||||||
|
|
||||||
|
$dbh->sqlite_busy_timeout(60 * 60 * 1000);
|
||||||
|
|
||||||
$dbh->do("pragma synchronous = off"); # we can always reproduce the cache
|
$dbh->do("pragma synchronous = off"); # we can always reproduce the cache
|
||||||
$dbh->do("pragma journal_mode = truncate");
|
$dbh->do("pragma journal_mode = truncate");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue