magnum/magnum/common
Mohammed Naser 9c7a0c4b8a Avoid running periodic processes inside each worker process
The periodic jobs are currently getting registered per each worker
which means that in cases with large number of workers, the APIs
for services such as Heat and Keystone will be hit very hard.

This patch resolves this issue by registering the jobs only to the
main process, ensuring that they run once per instance (or group
of workers).

Closes-Bug: #1702349

Change-Id: If9e13effc14fd35e646d02bb4f568e79786aa958
(cherry-pick from 867369f858)
2017-09-19 11:10:09 +00:00
..
cert_manager Remove log translations 2017-03-30 17:05:10 +08:00
x509 Remove log translations 2017-03-30 17:05:10 +08:00
__init__.py Create a ReST API entrypoint 2014-11-18 14:01:20 -07:00
clients.py Remove log translations 2017-03-30 17:05:10 +08:00
config.py Integrate OSProfiler in Magnum 2017-01-24 07:43:31 +07:00
context.py Set is_admin flag correctly in RequestContext 2017-03-03 03:37:08 +00:00
docker_utils.py Move to docker python SDK 2.x.x 2017-06-09 15:03:25 +00:00
exception.py Add a hacking rule for string interpolation at logging 2017-07-15 14:49:45 +08:00
keystone.py Add a hacking rule for string interpolation at logging 2017-07-15 14:49:45 +08:00
name_generator.py Clean imports in code 2016-09-05 09:51:38 +07:00
policy.py Set is_admin flag correctly in RequestContext 2017-03-03 03:37:08 +00:00
profiler.py Remove log translations 2017-03-30 17:05:10 +08:00
rpc.py Set access_policy for messaging's dispatcher 2017-06-21 11:14:24 +05:30
rpc_service.py Avoid running periodic processes inside each worker process 2017-09-19 11:10:09 +00:00
service.py Centralize config option: service section 2016-09-22 05:57:24 +00:00
short_id.py Convert bytes to string in get_id for python3 compatibility 2016-02-29 14:34:01 +08:00
urlfetch.py Add a hacking rule for string interpolation at logging 2017-07-15 14:49:45 +08:00
utils.py Add a hacking rule for string interpolation at logging 2017-07-15 14:49:45 +08:00