Changeset 5521
- Timestamp:
- Jul 31, 2009, 10:12:48 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/BaseOverlay.cpp
r5519 r5521 1530 1530 1531 1531 // keep alives and not up? yes-> link connection request is stale! 1532 if ( !ld->up && difftime( now, ld->keepAliveTime ) > 2 ) {1532 if ( !ld->up && difftime( now, ld->keepAliveTime ) >= 2 ) { 1533 1533 1534 1534 // increase counter 1535 1535 ld->keepAliveMissed++; 1536 1536 1537 // missed more than four keep-alive messages ( 4sec)? -> drop link1538 if (ld->keepAliveMissed > 10) {1537 // missed more than four keep-alive messages (10 sec)? -> drop link 1538 if (ld->keepAliveMissed > 4) { 1539 1539 logging_force( "Link connection request is stale, closing: " << ld ); 1540 1540 oldlinks.push_back( ld ); … … 1576 1576 1577 1577 if (ld->up!=1) continue; 1578 1578 /* 1579 1579 vector<LinkID>::iterator it = std::find( 1580 1580 bootstrapLinks.begin(), bootstrapLinks.end(), ld->communicationId); … … 1584 1584 continue; 1585 1585 } 1586 */ 1586 1587 logging_force( "Link timed out. Dropping " << ld ); 1587 1588 dropLink( ld->overlayId );
Note:
See TracChangeset
for help on using the changeset viewer.