forked from infra/ansible
memcached: move to new rhel10 instances
This moves all the applications that are using memcached to point to the 01 (rhel10) versions intead of the 02 (rhel9) ones. After pushing this, I will roll the changes out in staging and confirm everything works, then do production. In the event of problems will roll this back. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
0baaabd735
commit
50559f83d7
7 changed files with 7 additions and 7 deletions
|
|
@ -370,7 +370,7 @@ LOGGING = {
|
|||
CACHES = {
|
||||
'default': {
|
||||
'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache',
|
||||
'LOCATION': 'memcached02:11211',
|
||||
'LOCATION': 'memcached01:11211',
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ $wgParserCacheType = CACHE_MEMCACHED;
|
|||
$wgMessageCacheType = CACHE_MEMCACHED;
|
||||
$wgSessionsInMemcached = true;
|
||||
$wgMemCachedServers = array (
|
||||
0 => 'memcached02:11211',
|
||||
0 => 'memcached01:11211',
|
||||
);
|
||||
|
||||
## To enable image uploads, make sure the 'images' directory
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ CACHE = {
|
|||
"backend": "dogpile.cache.null",
|
||||
"expiration_time": 100,
|
||||
"arguments": {
|
||||
"url": "memcached02{{env_suffix}}:11211",
|
||||
"url": "memcached01{{env_suffix}}:11211",
|
||||
"distributed_lock": True,
|
||||
"lock_timeout": 5,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ SESSION_COOKIE_NAME = 'elections'
|
|||
DOGPILE_CACHE = {
|
||||
'backend': 'dogpile.cache.memcached',
|
||||
'arguments': {
|
||||
'url': ["memcached02:11211"],
|
||||
'url': ["memcached01:11211"],
|
||||
'distributed_lock': True,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -159,7 +159,7 @@ config = {
|
|||
"backend": "dogpile.cache.memcached",
|
||||
"expiration_time": None,
|
||||
"arguments": {
|
||||
"url": "memcached02",
|
||||
"url": "memcached01",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ config = {
|
|||
"backend": "dogpile.cache.memcached",
|
||||
"expiration_time": 3600, # 1 hour
|
||||
"arguments": {
|
||||
"url": "memcached02:11211",
|
||||
"url": "memcached01:11211",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ blocked_toddlers = [
|
|||
backend = "dogpile.cache.pylibmc"
|
||||
expiration_time = 3600
|
||||
[consumer_config.cache.arguments]
|
||||
url = ["memcached02{{ env_suffix }}.rdu3.fedoraproject.org"]
|
||||
url = ["memcached01{{ env_suffix }}.rdu3.fedoraproject.org"]
|
||||
binary = true
|
||||
behaviors = {"tcp_nodelay" = true, "ketama" = true}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue