Skip to content

Commit 163859b

Browse files
committed
fix(core): Initialize queue in the webhook server as well
1 parent 5dd92c6 commit 163859b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/cli/src/commands/webhook.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { LoggerProxy, sleep } from 'n8n-workflow';
33
import config from '@/config';
44
import { ActiveExecutions } from '@/ActiveExecutions';
55
import { WebhookServer } from '@/WebhookServer';
6+
import { Queue } from '@/Queue';
67
import { BaseCommand } from './BaseCommand';
78
import { Container } from 'typedi';
89

@@ -79,6 +80,7 @@ export class Webhook extends BaseCommand {
7980
}
8081

8182
async run() {
83+
await Container.get(Queue).init();
8284
await new WebhookServer().start();
8385
this.logger.info('Webhook listener waiting for requests.');
8486

0 commit comments

Comments
 (0)