
This patch adds periodic timer to conductor service. Any new periodic tasks need to be added to magnum/service/periodic.py We add 2 default configure options to support periodic task: 'periodic_enable', default=True 'periodic_interval_max', default=60 These 2 options are for rpc_service. PS: We don't need to supervisor timers because timer itself won't have any exception, and it is not a thread, which means can not be killed. Partial-Implements: blueprint add-periodic-task Co-Authored-By: ShaoHe Feng <shaohe.feng@intel.com> Change-Id: I132d9cc89b26baf249b62b713ccd3776f0078d7d
0 lines
0 B
Python
0 lines
0 B
Python
The file is empty.