Skip to content

Commit

Permalink
Log the unresolved task count when checking the task queue done
Browse files Browse the repository at this point in the history
  • Loading branch information
aliok committed Jan 24, 2024
1 parent 7b5a619 commit 09c38ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/queue/taskqueue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,7 @@ export class TaskQueue<ResultType, TaskSpec, Context> {
while (true) {
await this.backingQueue.onIdle();
logger.debug("Task queue is idle, checking if there are any unresolved tasks.");
// TODO: remove
// logger.error(`Unresolved task count: ${Object.keys(this.taskStore.unresolved).length}`);
logger.debug(`Unresolved task count: ${Object.keys(this.taskStore.unresolved).length}`);
if (Object.keys(this.taskStore.unresolved).length === 0) {
break;
}
Expand Down

0 comments on commit 09c38ea

Please sign in to comment.