Skip to content

Commit

Permalink
Remove the unused cache settings #844
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Druez <[email protected]>
  • Loading branch information
tdruez committed Aug 21, 2023
1 parent 5f2cbae commit 0c86c6f
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions scancodeio/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,24 +238,6 @@
MIDDLEWARE.append("debug_toolbar.middleware.DebugToolbarMiddleware")
INTERNAL_IPS = ["127.0.0.1"]

# Cache

CACHES = {
"default": {
"BACKEND": "django.core.cache.backends.locmem.LocMemCache",
"LOCATION": "default",
},
"scan_results": {
"BACKEND": "django.core.cache.backends.locmem.LocMemCache",
"LOCATION": "scan",
"TIMEOUT": 86_400, # 1 day
"OPTIONS": {
# Maximum entries allowed in the cache before old values are deleted
"MAX_ENTRIES": 1_000_000,
},
},
}

# Logging

LOGGING = {
Expand Down

0 comments on commit 0c86c6f

Please sign in to comment.