You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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 <email@example.com> Change-Id: I132d9cc89b26baf249b62b713ccd3776f0078d7d
|7 years ago|
|__init__.py||7 years ago|
|periodic.py||7 years ago|