Skip to content

Commit

Permalink
Merge branch 'hotfix-1.0.14' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicWatson committed Dec 11, 2024
2 parents 4caddcc + 3d5d637 commit bf4201e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v1.0.14

* Fix for missing cachebox config

## v1.0.13

* ADMINTHEME-54 - Top navigation menu: increasingly slow to load on every request
Expand Down
19 changes: 19 additions & 0 deletions config/Cachebox.cfc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
component {

public function configure( cachebox ) {
arguments.cachebox.caches.adminMenuCache = arguments.cachebox.caches.adminMenuCache ?: {
provider = "preside.system.coldboxModifications.cachebox.CacheProvider"
, properties = {
evictCount = 200
, evictionPolicy = "LFU"
, freeMemoryPercentageThreshold = 0
, maxObjects = 1000
, objectDefaultLastAccessTimeout = 30
, objectDefaultTimeout = 120
, objectStore = "ConcurrentStore"
, reapFrequency = 10
, useLastAccessTimeouts = true
}
};
}
}

0 comments on commit bf4201e

Please sign in to comment.