Changeset 181 in ntrip


Ignore:
Timestamp:
Sep 24, 2006, 3:07:52 PM (18 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnccaster.cpp

    r165 r181  
    107107  // ----------------------------------
    108108  if (newTime <= _lastDumpSec) {
    109     emit( newMessage(QString("Station %1: old epoch %2 thrown away")
    110                      .arg(staID.data()).arg(obs->GPSWeeks).toAscii()) );
     109    QSettings settings;
     110    if ( !settings.value("outFile").toString().isEmpty() ||
     111         !settings.value("outPort").toString().isEmpty() ) {
     112      emit( newMessage(QString("Station %1: old epoch %2 thrown away")
     113                       .arg(staID.data()).arg(obs->GPSWeeks).toAscii()) );
     114    }
    111115    delete obs;
    112116    return;
  • trunk/BNC/bncgetthread.cpp

    r152 r181  
    3636  _format     = format;
    3737  _socket     = 0;
    38   _timeOut    = 10*1000;  // 10 seconds
     38  _timeOut    = 20*1000;  // 20 seconds
    3939  _nextSleep  =  1;       //  1 second
    4040}
     
    219219    else {
    220220      _nextSleep *= 2;
    221       if (_nextSleep > 60) {
    222         _nextSleep = 60;
     221      if (_nextSleep > 128) {
     222        _nextSleep = 128;
    223223      }
    224224    }
Note: See TracChangeset for help on using the changeset viewer.