Ignore:
Timestamp:
Aug 5, 2009, 3:56:35 PM (15 years ago)
Author:
mies
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/overlay/modules/chord/Chord.cpp

    r5716 r5717  
    121121                dmsg.setSourceEndpoint(&baseoverlay.getEndpointDescriptor());
    122122                dmsg.setFollowType(Discovery::successor);
    123                 dmsg.setTTL((uint8_t)1);
     123                dmsg.setTTL((uint8_t)5);
    124124                cmsg.encapsulate(&dmsg);
    125125                send(&cmsg, lnk);
     
    131131                dmsg.setSourceEndpoint(&baseoverlay.getEndpointDescriptor());
    132132                dmsg.setFollowType(Discovery::predecessor);
    133                 dmsg.setTTL((uint8_t)1);
     133                dmsg.setTTL((uint8_t)5);
    134134                cmsg.encapsulate(&dmsg);
    135135                send(&cmsg, lnk);
     
    320320                        logging_debug("Route chord message to "
    321321                                << item->id.toString() << " (destination=" << m->getDestination() << ")");
    322                         ChordMessage cmsg(*m);
    323                         send(&cmsg, item->info);
     322                        send(m, item->info);
    324323                }
    325324                break;
     
    435434void Chord::eventFunction() {
    436435        stabilize_counter++;
    437         if (stabilize_counter < 0 || stabilize_counter == 2) {
     436        if (stabilize_counter < 0 || stabilize_counter == 3) {
    438437
    439438                // reset counter
Note: See TracChangeset for help on using the changeset viewer.