Periodic tasks: do not check spacing value if task is not enabled

Bug #1654035 reported by Yuriy Zveryanskyy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
futurist
Fix Released
Undecided
Yuriy Zveryanskyy

Bug Description

Makes sense skip check that spacing value > 0 for disabled tasks. This allows easy to disable task via zero or less spacing value:

 @periodics.periodic(spacing=CONF.some_interval,
                     enabled=CONF.some_interval > 0)

description: updated
Changed in futurist:
assignee: nobody → Yuriy Zveryanskyy (yzveryanskyy)
Changed in futurist:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/futurist 1.0.0

This issue was fixed in the openstack/futurist 1.0.0 release.

Changed in futurist:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.