Skip to content

Commit

Permalink
enable cache again
Browse files Browse the repository at this point in the history
  • Loading branch information
ascandone committed Oct 22, 2024
1 parent 5753fd5 commit aa6b0ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/controller/system/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ func NewFXModule(configuration ModuleConfiguration) fx.Option {
}))
}

// TEMP enable again
if false && configuration.NSCacheConfiguration.MaxCount != 0 {
if configuration.NSCacheConfiguration.MaxCount != 0 {
options = append(options, WithUpdateParser(func(oldParser ledgercontroller.NumscriptParser) ledgercontroller.NumscriptParser {
if oldParser == nil {
oldParser = ledgercontroller.NewDefaultNumscriptParser()
}

return ledgercontroller.NewCachedNumscriptParser(
oldParser,
configuration.NSCacheConfiguration,
Expand Down

0 comments on commit aa6b0ae

Please sign in to comment.