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