Changeset 454 in flair-src


Ignore:
Timestamp:
Oct 1, 2021, 7:01:36 PM (2 months ago)
Author:
Sanahuja Guillaume
Message:

change timeout value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/VrpnLite/src/VrpnLite.cpp

    r452 r454  
    3131
    3232//if we don'receive ack from client, do not send vrpnobjects anymore
    33 #define REMOVE_TIMEOUT (Time)2000000000
     33#define REMOVE_TIMEOUT (Time)5000000000
    3434
    3535
     
    134134  for (int i=0;i<connections.size();i++) {
    135135      if(connections.at(i).lastAck+REMOVE_TIMEOUT<GetTime() && connections.at(i).vrpnobjects.size()!=0) {
    136         Printf("client %i did not send ack from %ins, removing it\n",i,REMOVE_TIMEOUT);
     136        Printf("client %i did not send ack from %lldns, removing it (last ack %lld, time %lld)\n",i,REMOVE_TIMEOUT,connections.at(i).lastAck,GetTime());
    137137        for (auto it = connections.at(i).vrpnobjects.begin();it < connections.at(i).vrpnobjects.end(); it++) {
    138138          delete (*it);
Note: See TracChangeset for help on using the changeset viewer.