Skip to content

Commit 5aecae0

Browse files
committed
fix: set MAX_ENTRIES to 1000 in default cache options
1 parent 3176422 commit 5aecae0

File tree

1 file changed

+2
-1
lines changed
  • backend/redirectioneaza/settings

1 file changed

+2
-1
lines changed

backend/redirectioneaza/settings/cache.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"default": {
1313
"BACKEND": "django.core.cache.backends.db.DatabaseCache",
1414
"LOCATION": "redirect_cache_default",
15-
"TIMEOUT": TIMEOUT_CACHE_NORMAL, # default cache timeout in seconds
15+
"TIMEOUT": TIMEOUT_CACHE_NORMAL,
16+
"OPTIONS": {"MAX_ENTRIES": 1000},
1617
}
1718
}
1819
else:

0 commit comments

Comments
 (0)