Explorar el Código

Change config options for redis caching

version-14
Pratik Vyas hace 10 años
padre
commit
bfe1e04e39
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      frappe/__init__.py

+ 1
- 1
frappe/__init__.py Ver fichero

@@ -163,7 +163,7 @@ def cache():
global redis_server
if not redis_server:
from frappe.utils.redis_wrapper import RedisWrapper
redis_server = RedisWrapper(conf.get("redis_server") or "localhost")
redis_server = RedisWrapper.from_url(conf.get("cache_redis_server") or "redis://localhost")
return redis_server

def get_traceback():


Cargando…
Cancelar
Guardar