Sped up sqlite inserts 2x when built with persistent 2.14.5.0
https://github.com/yesodweb/persistent/issues/1457 Sponsored-by: Dartmouth College's DANDI project
This commit is contained in:
parent
a858099272
commit
cc36c8516a
9 changed files with 52 additions and 9 deletions
|
@ -5,7 +5,7 @@
|
|||
- Licensed under the GNU AGPL version 3 or higher.
|
||||
-}
|
||||
|
||||
{-# LANGUAGE TypeFamilies, FlexibleContexts, OverloadedStrings #-}
|
||||
{-# LANGUAGE TypeFamilies, FlexibleContexts, OverloadedStrings, CPP #-}
|
||||
|
||||
module Database.Handle (
|
||||
DbHandle,
|
||||
|
@ -329,4 +329,3 @@ isDatabaseModified (DatabaseInodeCache a1 b1) (DatabaseInodeCache a2 b2) =
|
|||
|
||||
takeMVarSafe :: MVar a -> IO (Either BlockedIndefinitelyOnMVar a)
|
||||
takeMVarSafe = try . takeMVar
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue