Repository navigation
Unchained Engine v4.9.4
Patch release of the v4.9 line. Contains everything in v4.9.3.
Patch
- Unchanged filter memberships are not read again after the cache expires (
@unchainedshop/core-filters): when the process memo of a filter expires, the MongoDB cache reads only that filter's row hashes and keeps its product id arrays while they match. Changed filters, filters seen for the first time and rows without a hash are read completely, as before (#837). - A process forgets filters no search needs (
@unchainedshop/core-filters): a filter no search needed for ten cache lifetimes (ten minutes by default) is dropped from memory and read completely the next time, so a filter deleted through another replica or the worker does not stay in memory until a restart. - One Set per cached membership list (
@unchainedshop/core):FilterDirector.filterProductIdsbuilt new Sets from the cached arrays on every call. The Sets are now shared, sofilterProductIdsandfilterFacets().filteredByThisFilterSetare typedReadonlySet<string>(types only).