Skip to content

Commit

Permalink
wip: Add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
burivuhster committed Dec 27, 2024
1 parent 5a541c2 commit 7a50d15
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/cli/src/concurrency/concurrency-control.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,15 @@ export class ConcurrencyControlService {
this.productionQueue.on('execution-released', async (executionId) => {
this.logger.debug('Execution released', { executionId });
});

this.evaluationQueue.on('execution-throttled', ({ executionId }) => {
this.logger.debug('Evaluation execution throttled', { executionId });
this.eventService.emit('execution-throttled', { executionId });
});

this.evaluationQueue.on('execution-released', async (executionId) => {
this.logger.debug('Evaluation execution released', { executionId });
});
}

/**
Expand Down

0 comments on commit 7a50d15

Please sign in to comment.