mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-02-11 12:09:36 +00:00
Use a special settings cache that lives in cache.system to ensure that it is properly cleared on cache clear
This commit is contained in:
parent
36e105afa8
commit
5ceadc8353
2 changed files with 5 additions and 0 deletions
|
|
@ -23,3 +23,7 @@ framework:
|
||||||
|
|
||||||
info_provider.cache:
|
info_provider.cache:
|
||||||
adapter: cache.app
|
adapter: cache.app
|
||||||
|
|
||||||
|
cache.settings:
|
||||||
|
adapter: cache.system
|
||||||
|
tags: true
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ jbtronics_settings:
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
default_cacheable: true
|
default_cacheable: true
|
||||||
|
service: 'cache.settings'
|
||||||
|
|
||||||
orm_storage:
|
orm_storage:
|
||||||
default_entity_class: App\Entity\SettingsEntry
|
default_entity_class: App\Entity\SettingsEntry
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue