redis
This commit is contained in:
parent
9acbc74930
commit
3396f9489a
|
@ -2,5 +2,5 @@
|
||||||
ENV = 'production'
|
ENV = 'production'
|
||||||
|
|
||||||
# base api
|
# base api
|
||||||
VUE_APP_BASE_API = 'http://121.36.23.77:8035'
|
VUE_APP_BASE_API = 'http://116.63.176.211:8035'
|
||||||
|
|
||||||
|
|
|
@ -172,7 +172,7 @@ AUTHENTICATION_BACKENDS = (
|
||||||
CACHES = {
|
CACHES = {
|
||||||
"default": {
|
"default": {
|
||||||
"BACKEND": "django_redis.cache.RedisCache",
|
"BACKEND": "django_redis.cache.RedisCache",
|
||||||
"LOCATION": "redis://127.0.0.1:6379/1",
|
"LOCATION": "redis://127.0.0.1:6379/9",
|
||||||
"OPTIONS": {
|
"OPTIONS": {
|
||||||
"CLIENT_CLASS": "django_redis.client.DefaultClient",
|
"CLIENT_CLASS": "django_redis.client.DefaultClient",
|
||||||
# "PICKLE_VERSION": -1
|
# "PICKLE_VERSION": -1
|
||||||
|
|
Loading…
Reference in New Issue