[openstack-dev] [Rally] Question on periodic task

Ajay Kalambur (akalambu) akalambu at cisco.com
Thu Nov 20 23:36:21 UTC 2014


Hi
I have a question on
/rally/openstack/common/periodic_task.py

It looks like if I have a method decorated with @periodic_task my method would get scheduled in separate process every N seconds
Now let us say we have a scenario and this periodic_task how does it work when concurrency=2 for instance

Is the periodic task also scheduled in 2 separate process. I actually want only one periodic task process irrespective of concurrency count in scenario
Also as a scenario developer how can I pass arguments into the periodic task


Ajay

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141120/3ceaf48b/attachment.html>


More information about the OpenStack-dev mailing list