mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +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
|
@ -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");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue