WIP
This commit is contained in:
		
					parent
					
						
							
								a01285ff33
							
						
					
				
			
			
				commit
				
					
						b541a5e38b
					
				
			
		
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -107,7 +107,7 @@ workerThread db jobs = catchNonAsync loop showerr
 | 
			
		|||
 -}
 | 
			
		||||
queryDb :: DbHandle -> a -> SqlPersistM a -> IO a
 | 
			
		||||
queryDb (DbHandle _ jobs _) fallback a =
 | 
			
		||||
	catchNonAsync go (\_ -> return fallback )
 | 
			
		||||
	catchNonAsync go (\e -> print e >> return fallback )
 | 
			
		||||
  where
 | 
			
		||||
	go = do
 | 
			
		||||
		res <- newEmptyMVar
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -111,7 +111,7 @@ Executable git-annex
 | 
			
		|||
   SafeSemaphore, uuid, random, dlist, unix-compat, async, stm (>= 2.3),
 | 
			
		||||
   data-default, case-insensitive, http-conduit, http-types,
 | 
			
		||||
   cryptohash (>= 0.10.0),
 | 
			
		||||
   esqueleto, persistent-sqlite, persistent, persistent-template
 | 
			
		||||
   esqueleto, persistent-sqlite (>= 2.1.0.1), persistent, persistent-template
 | 
			
		||||
  CC-Options: -Wall
 | 
			
		||||
  GHC-Options: -Wall
 | 
			
		||||
  Extensions: PackageImports
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue