Skip to content

Commit

Permalink
import/export queues to journal
Browse files Browse the repository at this point in the history
  • Loading branch information
epoberezkin committed Dec 22, 2024
1 parent 6855711 commit 1ff0e1a
Show file tree
Hide file tree
Showing 3 changed files with 235 additions and 87 deletions.
2 changes: 1 addition & 1 deletion src/Simplex/Messaging/Server/Env/STM.hs
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ newEnv config@ServerConfig {smpCredentials, httpCredentials, storeLogFile, msgSt
createMsgStore :: IO AMsgStore
createMsgStore = case (msgStoreType, storeMsgsFile) of
(AMSType SMSMemory, _) -> do
st <- newMsgStore STMStoreConfig {storePath = storeMsgsFile, quota = msgQueueQuota}
st <- newMsgStore STMStoreConfig {storePath = storeLogFile, quota = msgQueueQuota}
loadStoreLog st $> AMS SMSMemory st
(AMSType SMSHybrid, Just storePath) -> do
st <- newMsgStore $ storeCfg SMSHybrid storePath
Expand Down
Loading

0 comments on commit 1ff0e1a

Please sign in to comment.