Skip to content

Commit

Permalink
Fixes --disable-cache issues
Browse files Browse the repository at this point in the history
Fixes #1838
  • Loading branch information
kderme committed Sep 2, 2024
1 parent 424f51a commit 72493c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cardano-db-sync/src/Cardano/DbSync.hs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ extractSyncOptions snp aop snc =
{ soptEpochAndCacheEnabled =
not isTxOutBootstrap'
&& ioInOut iopts
&& not (enpEpochDisabled snp && enpHasCache snp)
&& not (enpEpochDisabled snp || not (enpHasCache snp))
, soptAbortOnInvalid = aop
, soptCache = enpHasCache snp
, soptSkipFix = enpSkipFix snp
Expand Down

0 comments on commit 72493c2

Please sign in to comment.