* Cron triggers (implemented in periodic.py) are always enabled
although in many installations they are not needed. When they
are enabled they consume resoruces (keep polling DB etc.).
This patch add the config option "enabled" under "cron_trigger"
group that can be used to disable the entire subsystem.
* Wiped out "disable_cron_trigger_thread" pecan app config variable
that was use to disable cron triggers in unit tests in favor of
the new config option
* Other minor style changes
Reviewed: https:/ /review. openstack. org/512520 /git.openstack. org/cgit/ openstack/ mistral/ commit/ ?id=6efe094012d e5458ac66bbaf93 a38005b8e69c2d
Committed: https:/
Submitter: Zuul
Branch: master
commit 6efe094012de545 8ac66bbaf93a380 05b8e69c2d
Author: Renat Akhmerov <email address hidden>
Date: Tue Oct 17 14:09:36 2017 +0700
Add a config option to disable cron triggers
* Cron triggers (implemented in periodic.py) are always enabled cron_trigger_ thread" pecan app config variable
although in many installations they are not needed. When they
are enabled they consume resoruces (keep polling DB etc.).
This patch add the config option "enabled" under "cron_trigger"
group that can be used to disable the entire subsystem.
* Wiped out "disable_
that was use to disable cron triggers in unit tests in favor of
the new config option
* Other minor style changes
Closes-bug: #1724147 3ea8696b7cd6547 2c8a49937bf
Change-Id: I79b9ccb2f4286b