Disable profiler for the moment
This commit is contained in:
parent
13e65ab2e6
commit
2822a19946
|
@ -34,7 +34,7 @@ from oslo.config import cfg
|
||||||
from oslo import i18n
|
from oslo import i18n
|
||||||
|
|
||||||
from senlin.common import messaging
|
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 log as logging
|
||||||
from senlin.openstack.common import service
|
from senlin.openstack.common import service
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
from senlin.engine import service as engine
|
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)
|
srv = engine.EngineService(cfg.CONF.host, rpc_api.ENGINE_TOPIC)
|
||||||
launcher = service.launch(srv, workers=cfg.CONF.num_engine_workers)
|
launcher = service.launch(srv, workers=cfg.CONF.num_engine_workers)
|
||||||
# the following periodic tasks are intended serve as HA checking
|
# the following periodic tasks are intended serve as HA checking
|
||||||
|
|
Loading…
Reference in New Issue