shorter delay between file swaps
This commit is contained in:
parent
68bc7f7682
commit
f8ff9c355c
@ -33,12 +33,8 @@ ReturnValue_t PersistentLogTmStoreTask::performOperation(uint8_t opCode) {
|
|||||||
stateHandlingForStore(handleOneStore(stores.miscStore, miscStoreContext));
|
stateHandlingForStore(handleOneStore(stores.miscStore, miscStoreContext));
|
||||||
if (not someonesBusy) {
|
if (not someonesBusy) {
|
||||||
TaskFactory::delayTask(100);
|
TaskFactory::delayTask(100);
|
||||||
} else /* and graceDelayDuringDumping.hasTimedOut()*/ {
|
} else if (someFileWasSwapped) {
|
||||||
if (someFileWasSwapped) {
|
TaskFactory::delayTask(10);
|
||||||
TaskFactory::delayTask(20);
|
|
||||||
}
|
|
||||||
// TaskFactory::delayTask(2);
|
|
||||||
// graceDelayDuringDumping.resetTimer();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,14 +18,8 @@ ReturnValue_t PersistentSingleTmStoreTask::performOperation(uint8_t opCode) {
|
|||||||
bool busy = handleOneStore(storeWithQueue, dumpContext);
|
bool busy = handleOneStore(storeWithQueue, dumpContext);
|
||||||
if (not busy) {
|
if (not busy) {
|
||||||
TaskFactory::delayTask(100);
|
TaskFactory::delayTask(100);
|
||||||
} else {
|
} else if (fileHasSwapped) {
|
||||||
if (fileHasSwapped) {
|
TaskFactory::delayTask(10);
|
||||||
TaskFactory::delayTask(20);
|
|
||||||
}
|
|
||||||
// if (fileHasSwapped and graceDelayDuringDumping.hasTimedOut()) {
|
|
||||||
// TaskFactory::delayTask(2);
|
|
||||||
// graceDelayDuringDumping.resetTimer();
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
2
tmtc
2
tmtc
@ -1 +1 @@
|
|||||||
Subproject commit f6fcb2fb282d79b1e250722eba46a319603b0232
|
Subproject commit 3f3523465a141bc2a2c36cbc9cbbf6ab7b3a9d70
|
Loading…
Reference in New Issue
Block a user