Commit 8afeb3f7 authored by Jacob Vosmaer's avatar Jacob Vosmaer
Browse files

Expire Rails cache entries after two weeks

This should help prevent endless Redis growth.
parent 4885a14a7605
Please view this file on the master branch, on stable branches it's out of date.
v 7.14.0 (unreleased)
- Expire Rails cache entries after two weeks to prevent endless Redis growth
v 7.13.0 (unreleased)
- Only enable HSTS header for HTTPS and port 443 (Stan Hu)
- Fix user autocomplete for unauthenticated users accessing public projects (Stan Hu)
......@@ -96,6 +96,7 @@
redis_config_hash[:namespace] = 'cache:gitlab'
redis_config_hash[:expires_in] = 2.weeks # Cache should not grow forever
config.cache_store = :redis_store, redis_config_hash
# This is needed for gitlab-shell
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment