- Timestamp:
- Nov 19, 2009, 3:17:57 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/BaseOverlay.cpp
r6965 r6966 363 363 if ( ld->relayed && !ld->communicationUp && ld->retryCounter > 0) { 364 364 ld->retryCounter--; 365 //ld->communicationId = bc->establishLink( ld->endpoint );365 ld->communicationId = bc->establishLink( ld->endpoint ); 366 366 } 367 367 … … 383 383 384 384 // keep alives missed? yes-> 385 if ( difftime( now, ld->keepAliveTime ) > 2) {385 if ( difftime( now, ld->keepAliveTime ) > 4 ) { 386 386 387 387 // increase counter … … 389 389 390 390 // missed more than four keep-alive messages (4 sec)? -> drop link 391 if (ld->keepAliveMissed >= 4) {391 if (ld->keepAliveMissed >= 2) { 392 392 logging_info( "Link is stale, closing: " << ld ); 393 393 oldlinks.push_back( ld );
Note:
See TracChangeset
for help on using the changeset viewer.