On Tuesday 12 August 2008 10:40, Julien Cornuwel wrote:
> Matthew Toseland a écrit :
> >> Both methods are tested and looks perfect, thanks again.
> >>
> >> I've got a question about requests persistence. I've set mines to
> >> 'forever', but does 'forever' really mean 'forever' for the node ?
> >>
> >> Is it safe to restart all the requests at plugin startup ? This is for
> >> the case where a user starts a new node but still has his WoT database...
> >
> > Set them to reboot. Forever means they are persistent across restarts. 
Reboot
> > means they are not. Connection means they are tied to a specific FCP
> > connection.
> 
> Is an HighLevelSimpleClient considered as an FCP connection ? I guess so...

I'm not sure. Try it.
> 
> If it is, I could even use 'Connection' for persistence. That would
> allow the restart of requests when people stop the plugin for updates or
> other reasons.

You will probably have to terminate them in the shutdown hook.

Attachment: pgpK1IMxLKaLH.pgp
Description: PGP signature

_______________________________________________
Devl mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to