chore: update connect_timeout for memcache server (#33594)
This commit is contained in:
committed by
GitHub
parent
d18bf2ce8f
commit
5b469371d5
@@ -7,7 +7,8 @@
|
||||
"OPTIONS": {
|
||||
"no_delay": true,
|
||||
"ignore_exc": true,
|
||||
"use_pooling": true
|
||||
"use_pooling": true,
|
||||
"connect_timeout": 0.5
|
||||
},
|
||||
"KEY_FUNCTION": "common.djangoapps.util.memcache.safe_key",
|
||||
"KEY_PREFIX": "integration_celery",
|
||||
@@ -20,7 +21,8 @@
|
||||
"OPTIONS": {
|
||||
"no_delay": true,
|
||||
"ignore_exc": true,
|
||||
"use_pooling": true
|
||||
"use_pooling": true,
|
||||
"connect_timeout": 0.5
|
||||
},
|
||||
"KEY_FUNCTION": "common.djangoapps.util.memcache.safe_key",
|
||||
"KEY_PREFIX": "sandbox_default",
|
||||
@@ -33,7 +35,8 @@
|
||||
"OPTIONS": {
|
||||
"no_delay": true,
|
||||
"ignore_exc": true,
|
||||
"use_pooling": true
|
||||
"use_pooling": true,
|
||||
"connect_timeout": 0.5
|
||||
},
|
||||
"KEY_FUNCTION": "common.djangoapps.util.memcache.safe_key",
|
||||
"KEY_PREFIX": "sandbox_general",
|
||||
@@ -46,7 +49,8 @@
|
||||
"OPTIONS": {
|
||||
"no_delay": true,
|
||||
"ignore_exc": true,
|
||||
"use_pooling": true
|
||||
"use_pooling": true,
|
||||
"connect_timeout": 0.5
|
||||
},
|
||||
"KEY_FUNCTION": "common.djangoapps.util.memcache.safe_key",
|
||||
"KEY_PREFIX": "integration_mongo_metadata_inheritance",
|
||||
@@ -59,7 +63,8 @@
|
||||
"OPTIONS": {
|
||||
"no_delay": true,
|
||||
"ignore_exc": true,
|
||||
"use_pooling": true
|
||||
"use_pooling": true,
|
||||
"connect_timeout": 0.5
|
||||
},
|
||||
"KEY_FUNCTION": "common.djangoapps.util.memcache.safe_key",
|
||||
"KEY_PREFIX": "integration_static_files",
|
||||
|
||||
@@ -11,6 +11,7 @@ CACHES:
|
||||
ignore_exc: true
|
||||
no_delay: true
|
||||
use_pooling: true
|
||||
connect_timeout: 0.5
|
||||
KEY_FUNCTION: common.djangoapps.util.memcache.safe_key
|
||||
KEY_PREFIX: integration_celery
|
||||
LOCATION: ['localhost:11211']
|
||||
@@ -20,6 +21,7 @@ CACHES:
|
||||
ignore_exc: true
|
||||
no_delay: true
|
||||
use_pooling: true
|
||||
connect_timeout: 0.5
|
||||
KEY_FUNCTION: common.djangoapps.util.memcache.safe_key
|
||||
KEY_PREFIX: sandbox_default
|
||||
LOCATION: ['localhost:11211']
|
||||
@@ -29,6 +31,7 @@ CACHES:
|
||||
ignore_exc: true
|
||||
no_delay: true
|
||||
use_pooling: true
|
||||
connect_timeout: 0.5
|
||||
KEY_FUNCTION: common.djangoapps.util.memcache.safe_key
|
||||
KEY_PREFIX: sandbox_general
|
||||
LOCATION: ['localhost:11211']
|
||||
@@ -38,6 +41,7 @@ CACHES:
|
||||
ignore_exc: true
|
||||
no_delay: true
|
||||
use_pooling: true
|
||||
connect_timeout: 0.5
|
||||
KEY_FUNCTION: common.djangoapps.util.memcache.safe_key
|
||||
KEY_PREFIX: integration_mongo_metadata_inheritance
|
||||
LOCATION: ['localhost:11211']
|
||||
@@ -47,6 +51,7 @@ CACHES:
|
||||
ignore_exc: true
|
||||
no_delay: true
|
||||
use_pooling: true
|
||||
connect_timeout: 0.5
|
||||
KEY_FUNCTION: common.djangoapps.util.memcache.safe_key
|
||||
KEY_PREFIX: integration_static_files
|
||||
LOCATION: ['localhost:11211']
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
"OPTIONS": {
|
||||
"no_delay": true,
|
||||
"ignore_exc": true,
|
||||
"use_pooling": true
|
||||
"use_pooling": true,
|
||||
"connect_timeout": 0.5
|
||||
},
|
||||
"KEY_FUNCTION": "common.djangoapps.util.memcache.safe_key",
|
||||
"KEY_PREFIX": "integration_celery",
|
||||
@@ -20,7 +21,8 @@
|
||||
"OPTIONS": {
|
||||
"no_delay": true,
|
||||
"ignore_exc": true,
|
||||
"use_pooling": true
|
||||
"use_pooling": true,
|
||||
"connect_timeout": 0.5
|
||||
},
|
||||
"KEY_FUNCTION": "common.djangoapps.util.memcache.safe_key",
|
||||
"KEY_PREFIX": "sandbox_default",
|
||||
@@ -33,7 +35,8 @@
|
||||
"OPTIONS": {
|
||||
"no_delay": true,
|
||||
"ignore_exc": true,
|
||||
"use_pooling": true
|
||||
"use_pooling": true,
|
||||
"connect_timeout": 0.5
|
||||
},
|
||||
"KEY_FUNCTION": "common.djangoapps.util.memcache.safe_key",
|
||||
"KEY_PREFIX": "sandbox_general",
|
||||
@@ -46,7 +49,8 @@
|
||||
"OPTIONS": {
|
||||
"no_delay": true,
|
||||
"ignore_exc": true,
|
||||
"use_pooling": true
|
||||
"use_pooling": true,
|
||||
"connect_timeout": 0.5
|
||||
},
|
||||
"KEY_FUNCTION": "common.djangoapps.util.memcache.safe_key",
|
||||
"KEY_PREFIX": "integration_mongo_metadata_inheritance",
|
||||
@@ -59,7 +63,8 @@
|
||||
"OPTIONS": {
|
||||
"no_delay": true,
|
||||
"ignore_exc": true,
|
||||
"use_pooling": true
|
||||
"use_pooling": true,
|
||||
"connect_timeout": 0.5
|
||||
},
|
||||
"KEY_FUNCTION": "common.djangoapps.util.memcache.safe_key",
|
||||
"KEY_PREFIX": "integration_static_files",
|
||||
|
||||
@@ -11,6 +11,7 @@ CACHES:
|
||||
no_delay: true
|
||||
ignore_exc: true
|
||||
use_pooling: true
|
||||
connect_timeout: 0.5
|
||||
KEY_FUNCTION: common.djangoapps.util.memcache.safe_key
|
||||
KEY_PREFIX: integration_celery
|
||||
LOCATION: ['edx.devstack.memcached:11211']
|
||||
@@ -20,6 +21,7 @@ CACHES:
|
||||
no_delay: true
|
||||
ignore_exc: true
|
||||
use_pooling: true
|
||||
connect_timeout: 0.5
|
||||
KEY_FUNCTION: common.djangoapps.util.memcache.safe_key
|
||||
KEY_PREFIX: sandbox_default
|
||||
LOCATION: ['edx.devstack.memcached:11211']
|
||||
@@ -29,6 +31,7 @@ CACHES:
|
||||
no_delay: true
|
||||
ignore_exc: true
|
||||
use_pooling: true
|
||||
connect_timeout: 0.5
|
||||
KEY_FUNCTION: common.djangoapps.util.memcache.safe_key
|
||||
KEY_PREFIX: sandbox_general
|
||||
LOCATION: ['edx.devstack.memcached:11211']
|
||||
@@ -38,6 +41,7 @@ CACHES:
|
||||
no_delay: true
|
||||
ignore_exc: true
|
||||
use_pooling: true
|
||||
connect_timeout: 0.5
|
||||
KEY_FUNCTION: common.djangoapps.util.memcache.safe_key
|
||||
KEY_PREFIX: integration_mongo_metadata_inheritance
|
||||
LOCATION: ['edx.devstack.memcached:11211']
|
||||
@@ -47,6 +51,7 @@ CACHES:
|
||||
no_delay: true
|
||||
ignore_exc: true
|
||||
use_pooling: true
|
||||
connect_timeout: 0.5
|
||||
KEY_FUNCTION: common.djangoapps.util.memcache.safe_key
|
||||
KEY_PREFIX: integration_static_files
|
||||
LOCATION: ['edx.devstack.memcached:11211']
|
||||
|
||||
@@ -2182,6 +2182,7 @@ CACHES = {
|
||||
'no_delay': True,
|
||||
'ignore_exc': True,
|
||||
'use_pooling': True,
|
||||
'connect_timeout': 0.5
|
||||
}
|
||||
},
|
||||
'course_structure_cache': {
|
||||
@@ -2194,6 +2195,7 @@ CACHES = {
|
||||
'no_delay': True,
|
||||
'ignore_exc': True,
|
||||
'use_pooling': True,
|
||||
'connect_timeout': 0.5
|
||||
}
|
||||
},
|
||||
'celery': {
|
||||
@@ -2206,6 +2208,7 @@ CACHES = {
|
||||
'no_delay': True,
|
||||
'ignore_exc': True,
|
||||
'use_pooling': True,
|
||||
'connect_timeout': 0.5
|
||||
}
|
||||
},
|
||||
'mongo_metadata_inheritance': {
|
||||
@@ -2218,6 +2221,7 @@ CACHES = {
|
||||
'no_delay': True,
|
||||
'ignore_exc': True,
|
||||
'use_pooling': True,
|
||||
'connect_timeout': 0.5
|
||||
}
|
||||
},
|
||||
'staticfiles': {
|
||||
@@ -2229,6 +2233,7 @@ CACHES = {
|
||||
'no_delay': True,
|
||||
'ignore_exc': True,
|
||||
'use_pooling': True,
|
||||
'connect_timeout': 0.5
|
||||
}
|
||||
},
|
||||
'default': {
|
||||
@@ -2241,6 +2246,7 @@ CACHES = {
|
||||
'no_delay': True,
|
||||
'ignore_exc': True,
|
||||
'use_pooling': True,
|
||||
'connect_timeout': 0.5
|
||||
}
|
||||
},
|
||||
'configuration': {
|
||||
@@ -2252,6 +2258,7 @@ CACHES = {
|
||||
'no_delay': True,
|
||||
'ignore_exc': True,
|
||||
'use_pooling': True,
|
||||
'connect_timeout': 0.5
|
||||
}
|
||||
},
|
||||
'general': {
|
||||
@@ -2263,6 +2270,7 @@ CACHES = {
|
||||
'no_delay': True,
|
||||
'ignore_exc': True,
|
||||
'use_pooling': True,
|
||||
'connect_timeout': 0.5
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
@@ -57,6 +57,7 @@ CACHES:
|
||||
no_delay: true
|
||||
ignore_exc: true
|
||||
use_pooling: true
|
||||
connect_timeout: 0.5
|
||||
KEY_FUNCTION: common.djangoapps.util.memcache.safe_key
|
||||
KEY_PREFIX: celery
|
||||
LOCATION:
|
||||
@@ -68,6 +69,7 @@ CACHES:
|
||||
no_delay: true
|
||||
ignore_exc: true
|
||||
use_pooling: true
|
||||
connect_timeout: 0.5
|
||||
KEY_FUNCTION: common.djangoapps.util.memcache.safe_key
|
||||
KEY_PREFIX: 78f87108afce
|
||||
LOCATION:
|
||||
@@ -78,6 +80,7 @@ CACHES:
|
||||
no_delay: true
|
||||
ignore_exc: true
|
||||
use_pooling: true
|
||||
connect_timeout: 0.5
|
||||
KEY_FUNCTION: common.djangoapps.util.memcache.safe_key
|
||||
KEY_PREFIX: course_structure
|
||||
LOCATION:
|
||||
@@ -89,6 +92,7 @@ CACHES:
|
||||
ignore_exc: true
|
||||
no_delay: true
|
||||
use_pooling: true
|
||||
connect_timeout: 0.5
|
||||
KEY_FUNCTION: common.djangoapps.util.memcache.safe_key
|
||||
KEY_PREFIX: default
|
||||
LOCATION:
|
||||
@@ -100,6 +104,7 @@ CACHES:
|
||||
no_delay: true
|
||||
ignore_exc: true
|
||||
use_pooling: true
|
||||
connect_timeout: 0.5
|
||||
KEY_FUNCTION: common.djangoapps.util.memcache.safe_key
|
||||
KEY_PREFIX: general
|
||||
LOCATION:
|
||||
@@ -110,6 +115,7 @@ CACHES:
|
||||
no_delay: true
|
||||
ignore_exc: true
|
||||
use_pooling: true
|
||||
connect_timeout: 0.5
|
||||
KEY_FUNCTION: common.djangoapps.util.memcache.safe_key
|
||||
KEY_PREFIX: mongo_metadata_inheritance
|
||||
LOCATION:
|
||||
@@ -121,6 +127,7 @@ CACHES:
|
||||
no_delay: true
|
||||
ignore_exc: true
|
||||
use_pooling: true
|
||||
connect_timeout: 0.5
|
||||
KEY_FUNCTION: common.djangoapps.util.memcache.safe_key
|
||||
KEY_PREFIX: 78f87108afce_general
|
||||
LOCATION:
|
||||
|
||||
Reference in New Issue
Block a user