Changeset 6966 for source/ariba


Ignore:
Timestamp:
Nov 19, 2009, 3:17:57 PM (15 years ago)
Author:
mies
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/overlay/BaseOverlay.cpp

    r6965 r6966  
    363363                if ( ld->relayed && !ld->communicationUp && ld->retryCounter > 0) {
    364364                        ld->retryCounter--;
    365 //                      ld->communicationId = bc->establishLink( ld->endpoint );
     365                        ld->communicationId = bc->establishLink( ld->endpoint );
    366366                }
    367367
     
    383383
    384384                // keep alives missed? yes->
    385                 if ( difftime( now, ld->keepAliveTime ) > 2 ) {
     385                if ( difftime( now, ld->keepAliveTime ) > 4 ) {
    386386
    387387                        // increase counter
     
    389389
    390390                        // missed more than four keep-alive messages (4 sec)? -> drop link
    391                         if (ld->keepAliveMissed >= 4) {
     391                        if (ld->keepAliveMissed >= 2) {
    392392                                logging_info( "Link is stale, closing: " << ld );
    393393                                oldlinks.push_back( ld );
Note: See TracChangeset for help on using the changeset viewer.