Skip to content

Commit

Permalink
Enable use of acid-store's createArchive
Browse files Browse the repository at this point in the history
  • Loading branch information
hvr committed May 3, 2020
1 parent 3e50f31 commit d430121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Distribution/Server/Framework/Feature.hs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ abstractAcidStateComponent' :: MemSize st
-> StateComponent AcidState st -> AbstractStateComponent
abstractAcidStateComponent' cmp st = AbstractStateComponent {
abstractStateDesc = stateDesc st
, abstractStateCheckpoint = createCheckpoint (stateHandle st)
, abstractStateCheckpoint = createCheckpoint (stateHandle st) *> createArchive (stateHandle st)
, abstractStateClose = closeAcidState (stateHandle st)
, abstractStateBackup = \t -> liftM (backupState st t) (getState st)
, abstractStateRestore = abstractRestoreBackup (putState st) (restoreState st)
Expand Down

0 comments on commit d430121

Please sign in to comment.