We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4103d24 commit 97ac70aCopy full SHA for 97ac70a
src/bots/spotFiller.ts
@@ -996,7 +996,8 @@ export class SpotFillerBot implements Bot {
996
let healthy = false;
997
await this.watchdogTimerMutex.runExclusive(async () => {
998
healthy =
999
- this.watchdogTimerLastPatTime > Date.now() - 5 * this.pollingIntervalMs;
+ this.watchdogTimerLastPatTime >
1000
+ Date.now() - 10 * this.pollingIntervalMs;
1001
if (!healthy) {
1002
logger.warn(`${this.name} watchdog timer expired`);
1003
}
@@ -2401,7 +2402,6 @@ export class SpotFillerBot implements Bot {
2401
2402
);
2403
2404
logger.debug(`trySpotFill done, took ${duration} ms`);
-
2405
2406
this.watchdogTimerLastPatTime = Date.now();
2407
});
0 commit comments