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. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20080812/44d61cb7/attachment.pgp>
