Revision: 16030
Author: vladimir.ralev
Date: Thu Dec 23 09:53:29 2010
Log: Update Issue 2234
Fix to make timer remote-clock-independent
http://code.google.com/p/mobicents/source/detail?r=16030
Modified:
/trunk/tools/sip-balancer/jar/src/main/java/org/mobicents/tools/sip/balancer/NodeRegisterImpl.java
=======================================
---
/trunk/tools/sip-balancer/jar/src/main/java/org/mobicents/tools/sip/balancer/NodeRegisterImpl.java
Tue Dec 21 11:33:25 2010
+++
/trunk/tools/sip-balancer/jar/src/main/java/org/mobicents/tools/sip/balancer/NodeRegisterImpl.java
Thu Dec 23 09:53:29 2010
@@ -283,6 +283,7 @@
*/
public void handlePingInRegister(ArrayList<SIPNode> ping) {
for (SIPNode pingNode : ping) {
+ pingNode.updateTimerStamp();
if(pingNode.getProperties().get("jvmRoute") != null) {
// Let it leak, we will have 10-100 nodes, not
a big deal if it leaks.
// We need info about inactive nodes to do the
failover