diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-12-06T10·43+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-12-06T10·43+0100 |
commit | 8cc19ed0892137a77d95250ffe1e5bc29ff2ebaf (patch) | |
tree | 991695c5f795a789676df5be2ab9927ddaf567fe /scripts | |
parent | 52edef34950354ecccbe8e1bf3f1aced3872b5c0 (diff) |
Set a long SQLite timeout in the binary cache substituter
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/download-from-binary-cache.pl.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/download-from-binary-cache.pl.in b/scripts/download-from-binary-cache.pl.in index 20d60e06e63e..b822466719f2 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"); |