On Tue, 18 Sep 2007 17:05:47 -0400
Matt Sergeant <[EMAIL PROTECTED]> wrote:
> David Sparks wrote:
> > I forgot why init() is called per connection in the async server?
> > Something to do with changing plugins on the fly?
> 
> I dunno - I hate that too.
> 
> > Right now my plugins are 30% management code to avoid reloading their
> > config in init().
> > 
> > Does anyone else see a need for once only initialization hooks?
> 
> Yes. And it should be init(). There's post-fork, but in -async I think 
> that's only called if you use -j > 1.
At least the code looks like it's called before entering the main loop
in any case.

        Hanno

Reply via email to