Disable profiler for the moment

This commit is contained in:
tengqm 2014-12-10 21:17:26 +08:00
parent 13e65ab2e6
commit 2822a19946
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ from oslo.config import cfg
from oslo import i18n
from senlin.common import messaging
from senlin.common import profiler
#from senlin.common import profiler
from senlin.openstack.common import log as logging
from senlin.openstack.common import service
@ -52,7 +52,7 @@ if __name__ == '__main__':
from senlin.engine import service as engine
profiler.setup('senlin-engine', cfg.CONF.host)
# profiler.setup('senlin-engine', cfg.CONF.host)
srv = engine.EngineService(cfg.CONF.host, rpc_api.ENGINE_TOPIC)
launcher = service.launch(srv, workers=cfg.CONF.num_engine_workers)
# the following periodic tasks are intended serve as HA checking