Fixes runLimiter check on #dequeueRuns (#1953)
* Fixes runLimiter check on #dequeueRuns This was causing issues in the dev environment with logs being spammed with `[DevSupervisor] dequeueRuns. Run limit reached, trying again later` and making the worker unresponsive and lose connection. * Create polite-impalas-care.md --------- Co-authored-by: Eric Allam <eallam@icloud.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"trigger.dev": patch
|
||||
---
|
||||
|
||||
Fixes runLimiter check on #dequeueRuns
|
||||
@@ -206,6 +206,7 @@ class DevSupervisor implements WorkerRuntime {
|
||||
) {
|
||||
logger.debug(`[DevSupervisor] dequeueRuns. Run limit reached, trying again later`);
|
||||
setTimeout(() => this.#dequeueRuns(), this.config.dequeueIntervalWithoutRun);
|
||||
return;
|
||||
}
|
||||
|
||||
//get relevant versions
|
||||
|
||||
Reference in New Issue
Block a user