[Zope3-Users] zc.async in Zope2/Plone

Gary Poster gary at modernsongs.com
Sat Sep 13 15:30:47 EDT 2008


On Sep 13, 2008, at 2:43 PM, Santiago Videla wrote:

> Hi,
>
> more reports... :)
>
>
>
> If you want a Zope 2 instance to run the zc.async dispatcher/worker  
> threads, then it might be better to get the DB that zope is using.   
> In Zope 3, there's an event you can subscribe to to get the DB.   
> Maybe there's something similar in Zope 2 these days?
>
>
> I found that this event it's fired since Zope2.11, but I'm using  
> Zope2.10.6 (actually repoze.zope use this version), so I left this  
> option
>
> What I did to run more than 1 client instance, is to set the  
> environment variable ZC_ASYNC_UUID from supervisord.conf
> for each client instance.

oops, I just told you about this in the other email, after having  
skimmed this one too lightly.  :-)

> This will start one dispatcher per instance, right? is that ok?

That's exactly right--exactly the intent.

Gary


More information about the Zope3-users mailing list