Justin Karneges wrote:
> On Thursday 02 October 2008 21:09:37 Justin Karneges wrote:
>> Periodically reacquainting yourself with remote servers is really the only
>> solution.
> 
> (... to clearing away stale presence)
> 
> Suppose you want to check on interesting JIDs every 10 minutes.  Instead of 
> connecting to a remote server in the usual way, and then presence probing 100 
> JIDs, how about simply using XEP-198 session resumption?  Have the remote 
> server set the session expiry to 15 minutes, and if you reconnect within 10 
> minutes and the server still remembers that session token, then you would 
> know the server hasn't died and you haven't lost any presence stanzas.  No 
> actual presence probes needed.

I like that idea. :)

Peter

-- 
Peter Saint-Andre
https://stpeter.im/


_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [EMAIL PROTECTED]
_______________________________________________

Reply via email to