[Openstack] Which functions are invoked in swift source code

pragya jain prag_2648 at yahoo.co.in
Tue Oct 8 04:36:45 UTC 2013


hello all,

when we give the command 
$ sudo swift-init accoount-auditor start


 __init__ functions defined in the class AccountAuditor in swift/account/auditor.py is invoked.

  
But, I don't understand
1. How does the control go to run_forever() or run_once() function defined in the same class?
2. Who will decide whether to run run_forever() function or run_once() function?

Please help me in this regard
------

Thanks 

Pragya jain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131008/53ee37f0/attachment.html>


More information about the Openstack mailing list