[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: xPLHubs (again!)
--- In ukha_xpl@xxxxxxx, "Paul Robinson" <ukcueman@y...>
wrote:
> Why not save it only if it's different from what it was last time
(which you cache in
> memory)?
>
The actual clients may stay the same, but the file includes a date
stamp of when you last heard from them, so that changes each time
you receive a heartbeat. If it wasn't for that, then your
suggestion would work just fine.
In fact, there's no reason to include a timestamp - it doesn't
really matter if you leave a client on the list for a few minutes
longer than necessary. If the hub just assumed 2*interval as the
timeout when it started up (interval would do, but 2* allows for
missing one message), that would be OK.
Mal.
xPL Links: http://www.xplproject.org.uk http://www.xplhal.com http://www.xpl.myby.co.uk
To Post a Message: ukha_xpl@xxxxxxx
To Subscribe: ukha_xpl-subscribe@xxxxxxx
To Unsubscribe: ukha_xpl-unsubscribe@xxxxxxx
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|