Skip to content

Commit 6de1b6f

Browse files
debug
1 parent a206df3 commit 6de1b6f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

decentralized-message-queue/src/DMQ/Configuration.hs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -637,12 +637,12 @@ mkDiffusionConfiguration
637637
updateLedgerPeerSnapshot topologyDir readLedgerPeerPath writeVar = do
638638
mPeerSnapshotFile <- atomically readLedgerPeerPath
639639
mLedgerPeerSnapshot <- case mPeerSnapshotFile of
640-
Nothing -> pure Nothing
641-
Just peerSnapshotFile | FilePath.isRelative peerSnapshotFile -> do
642-
peerSnapshotFile' <- Directory.makeAbsolute $ topologyDir FilePath.</> peerSnapshotFile
643-
Just <$> readPeerSnapshotFileOrError peerSnapshotFile'
644-
Just peerSnapshotFile ->
645-
Just <$> readPeerSnapshotFileOrError peerSnapshotFile
640+
_ -> pure Nothing
641+
-- Just peerSnapshotFile | FilePath.isRelative peerSnapshotFile -> do
642+
-- peerSnapshotFile' <- Directory.makeAbsolute $ topologyDir FilePath.</> peerSnapshotFile
643+
-- Just <$> readPeerSnapshotFileOrError peerSnapshotFile'
644+
-- Just peerSnapshotFile ->
645+
-- Just <$> readPeerSnapshotFileOrError peerSnapshotFile
646646
atomically . writeVar $ mLedgerPeerSnapshot
647647
pure mLedgerPeerSnapshot
648648

0 commit comments

Comments
 (0)