Skip to content

Commit

Permalink
refactor: replace locmemcache with databasecache
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentporte committed Dec 10, 2024
1 parent 56e3163 commit 61f15af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@
# https://docs.djangoproject.com/en/4.1/topics/cache/
CACHES = {
"default": {
"BACKEND": "django.core.cache.backends.locmem.LocMemCache",
"BACKEND": "django.core.cache.backends.db.DatabaseCache",
"LOCATION": "cache_table",
},
"machina_attachments": {
"BACKEND": "django.core.cache.backends.filebased.FileBasedCache",
Expand Down

0 comments on commit 61f15af

Please sign in to comment.