Changeset 10098 in ntrip for trunk/BNC/src
- Timestamp:
- Jun 16, 2023, 10:59:27 PM (17 months ago)
- Location:
- trunk/BNC/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/combination/bnccomb.cpp
r10096 r10098 454 454 } 455 455 456 // Check regarding current time457 // ----------------------------458 if ((newClk->_time >= currentTime) || // future time stamp459 (currentTime - newClk->_time) > 60.0) { // very old data sets460 delete newClk;461 continue;462 }463 464 456 // Check Modulo Time 465 457 // ----------------- … … 487 479 } 488 480 481 // Check regarding current time 482 // ---------------------------- 483 if ((newClk->_time >= currentTime) || // future time stamp 484 (currentTime - newClk->_time) > 120.0) { // very old data sets 485 #ifdef BNC_DEBUG_CMB 486 emit newMessage("bncComb: very old data sets: " + acName.toLatin1() + " " + newClk->_prn.toString().c_str() + 487 QString(" %1 ").arg(newClk->_time.timestr().c_str()).toLatin1() + "vs. current time" + 488 QString(" %1 ").arg(currentTime.timestr().c_str()).toLatin1(), true); 489 #endif 490 delete newClk; 491 continue; 492 } 493 494 489 495 // Set the last time 490 496 // ----------------- … … 535 541 // Make sure the buffer does not grow beyond any limit 536 542 // --------------------------------------------------- 537 const unsigned MAX_EPODATA_SIZE = 10;543 const unsigned MAX_EPODATA_SIZE = 25; 538 544 if (_epoClkData.size() > MAX_EPODATA_SIZE) { 539 545 delete _epoClkData.front(); … … 553 559 bncTime epoTime = _epoClkData.front()->_time; 554 560 555 if ((currentTime - epoTime) > 60.0) {561 if ((currentTime - epoTime) > 120.0) { 556 562 delete _epoClkData.front(); 557 563 _epoClkData.pop_front();
Note:
See TracChangeset
for help on using the changeset viewer.