Lennart Regebro
2009-09-09 11:58:53 UTC
Hiya!
When starting my zeo-clients I don't want them to all connect at the
same time, but stagger it. I found a buildout with a sleep script that
does this, but it fails when killing the processes during shutdown.
(http://rpatterson.net/blog/stagger-supervisord)
Is there another way of doing this? :-)
I took a quick look at the process.py code and it does not seem *very*
hairy to implement a startupdelay parameter. Is there any reason not
to implement this? If not do you want me to try?
When starting my zeo-clients I don't want them to all connect at the
same time, but stagger it. I found a buildout with a sleep script that
does this, but it fails when killing the processes during shutdown.
(http://rpatterson.net/blog/stagger-supervisord)
Is there another way of doing this? :-)
I took a quick look at the process.py code and it does not seem *very*
hairy to implement a startupdelay parameter. Is there any reason not
to implement this? If not do you want me to try?
--
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64