Skip to content
Snippets Groups Projects
Commit 1a883cf2 authored by Mayra Cabrera's avatar Mayra Cabrera Committed by 🤖 GitLab Bot 🤖
Browse files

Merge branch 'sh-revert-redis-cache-store' into 'master'

Fix "ERR value is not an integer or out of range" errors

Closes #66449

See merge request gitlab-org/gitlab-ce!32126

(cherry picked from commit 8832aa95)

6bda359b Fix "ERR value is not an integer or out of range" errors
parent ce16d8d1
No related branches found
No related tags found
No related merge requests found
---
title: Fix "ERR value is not an integer or out of range" errors
merge_request: 32126
author:
type: fixed
Loading
Loading
@@ -241,10 +241,7 @@ module Gitlab
end
 
# Use caching across all environments
# Full list of options:
# https://api.rubyonrails.org/classes/ActiveSupport/Cache/RedisCacheStore.html#method-c-new
caching_config_hash = Gitlab::Redis::Cache.params
caching_config_hash[:compress] = false
caching_config_hash[:namespace] = Gitlab::Redis::Cache::CACHE_NAMESPACE
caching_config_hash[:expires_in] = 2.weeks # Cache should not grow forever
if Sidekiq.server? # threaded context
Loading
Loading
@@ -252,7 +249,7 @@ module Gitlab
caching_config_hash[:pool_timeout] = 1
end
 
config.cache_store = :redis_cache_store, caching_config_hash
config.cache_store = :redis_store, caching_config_hash
 
config.active_job.queue_adapter = :sidekiq
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment