some tweaks for busy handling #500
@ -195,10 +195,6 @@ ReturnValue_t PersistentTmStore::startDumpFromUpTo(uint32_t fromUnixSeconds,
|
|||||||
dumpParams.fromUnixTime = fromUnixSeconds;
|
dumpParams.fromUnixTime = fromUnixSeconds;
|
||||||
dumpParams.untilUnixTime = upToUnixSeconds;
|
dumpParams.untilUnixTime = upToUnixSeconds;
|
||||||
state = State::DUMPING;
|
state = State::DUMPING;
|
||||||
if (loadNextDumpFile() == DUMP_DONE) {
|
|
||||||
// State will be set inside the function loading the next file.
|
|
||||||
return DUMP_DONE;
|
|
||||||
}
|
|
||||||
return returnvalue::OK;
|
return returnvalue::OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -216,7 +212,7 @@ ReturnValue_t PersistentTmStore::loadNextDumpFile() {
|
|||||||
sif::error << "PersistentTmStore: Could not retrieve file size: " << e.message() << std::endl;
|
sif::error << "PersistentTmStore: Could not retrieve file size: " << e.message() << std::endl;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
// sif::debug << "Path: " << dumpParams.dirEntry.path() << std::endl;
|
sif::debug << "Path: " << dumpParams.dirEntry.path() << std::endl;
|
||||||
|
|
||||||
// File empty or can't even read CCSDS header.
|
// File empty or can't even read CCSDS header.
|
||||||
if (dumpParams.fileSize <= 6) {
|
if (dumpParams.fileSize <= 6) {
|
||||||
|
Loading…
Reference in New Issue
Block a user