Skip to content

Commit

Permalink
feat: enable cache again
Browse files Browse the repository at this point in the history
  • Loading branch information
ascandone committed Oct 23, 2024
1 parent 7528c43 commit 7e77824
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 7e77824

Please sign in to comment.