1
0
Fork 0
mirror of https://github.com/n8n-io/n8n.git synced 2025-03-05 20:50:17 -08:00

wip: Add logging

This commit is contained in:
Eugene Molodkin 2024-12-27 12:14:31 +01:00
parent 1caf41a34a
commit 3d63aa11a5
No known key found for this signature in database

View file

@ -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 });
});
}
/**