split out Database.Queue from Database.Handle
Fsck can use the queue for efficiency since it is write-heavy, and only reads a value before writing it. But, the queue is not suited to the Keys database.
This commit is contained in:
parent
b3690c4499
commit
6d38f54db4
5 changed files with 177 additions and 120 deletions
|
@ -9,6 +9,6 @@ module Database.Keys.Types (
|
|||
DbHandle(..)
|
||||
) where
|
||||
|
||||
import qualified Database.Handle as H
|
||||
import qualified Database.Queue as H
|
||||
|
||||
newtype DbHandle = DbHandle H.DbHandle
|
||||
newtype DbHandle = DbHandle H.DbQueue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue