This commit is contained in:
Denis Zheleztsov 2016-11-11 09:51:25 +03:00
parent c657134c2c
commit 339d67f409

View File

@ -100,8 +100,8 @@ def reload_conf(service_conf, app_conf, conf, app_hosts):
# Need rewriting # Need rewriting
################ ################
if 'memcached' in conf: if 'memcached' in conf:
import memcache
if conf['memcached']['enabled'] is True: if conf['memcached']['enabled'] is True:
import memcache
# Check old servers # Check old servers
mc_hosts = None mc_hosts = None
if conf['memcached']['discovery']['enabled'] is True: if conf['memcached']['discovery']['enabled'] is True: