deal with rare SELECT ErrorBusy failures
I think they might be a sqlite bug. In discussions with sqlite devs.
This commit is contained in:
parent
af254615b2
commit
80683871ee
2 changed files with 14 additions and 7 deletions
|
@ -96,7 +96,7 @@ addDb (FsckHandle h _) k = H.queueDb h 1000 $
|
|||
sk = toSKey k
|
||||
|
||||
inDb :: FsckHandle -> Key -> IO Bool
|
||||
inDb (FsckHandle h _) = H.queryDb h . inDb' . toSKey
|
||||
inDb (FsckHandle h _) = H.queryDb h False . inDb' . toSKey
|
||||
|
||||
inDb' :: SKey -> SqlPersistM Bool
|
||||
inDb' sk = do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue