Update our LAST_UPDATED column every minute while we're alive so that if we

lose connection with a peer for any reason, it will notice that we're still
alive and reconnect.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4732 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2007-06-13 23:36:25 +00:00
parent 2fa6146d93
commit 0c448bc92d
3 changed files with 24 additions and 10 deletions
@@ -579,6 +579,9 @@ public class PeerManager
_invoker.postUnit(new Invoker.Unit() {
public boolean invoke () {
try {
// let the world know that we're alive
_noderepo.heartbeatNode(_nodeName);
// then load up all the peer records
_nodes = _noderepo.loadNodes();
return true;
} catch (PersistenceException pe) {