Signed-off-by: Bogdan Nechyporenko <bnechyporenko@bol.com>
This commit is contained in:
Bogdan Nechyporenko
2023-11-02 13:43:21 +01:00
parent dac553ff2f
commit 79619a7fa1
3 changed files with 4 additions and 6 deletions
+2 -4
View File
@@ -41,13 +41,11 @@ export interface Config {
concurrentTasksLimit?: number;
/**
* Sets the processing interval for staled tasks.
*
* Staled tasks are marked as failed, once task's timeout has exceeded.
* Makes sure to auto-expire and clean up things that time out or for other reasons should not be left lingering.
*
* By default, the frequency is every 5 minutes.
*/
taskTimeoutReaperFrequency: HumanDuration;
taskTimeoutJanitorFrequency: HumanDuration;
/**
* Sets the task's heartbeat timeout, when to consider a task to be staled.