Blocking Plugins
Brad Fitzpatrick
brad at danga.com
Thu Jun 29 17:32:12 UTC 2006
That works too.
Or, automatically infer it based on observed latency! :P
On Thu, 29 Jun 2006, Martin Atkins wrote:
> Brad Fitzpatrick wrote:
> > They'll be transparently run in a child process if you declare it
> > blocking. I was gonna try to finish that today, but keep getting
> > interrupted.
> >
>
> Perhaps it would be better to have this flag set at the hook level
> rather than the plugin level? It's quite likely that there'll be a
> plugin that has a few blocking operations but also a some really simple
> ones that would get dwarfed by the overhead of all of this forking and
> socket communication.
>
> Could maybe just be a flag passed in to VHost->register_hook?
>
>
More information about the Djabberd
mailing list