mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor(core)!: Remove webhook deregistration at startup and shutdown (#7515)
https://linear.app/n8n/issue/PAY-932/deprecate-flag-to-skip-webhook-deregistration-on-shutdown
This commit is contained in:
@@ -107,12 +107,6 @@ export class WebhookService {
|
||||
return this.deleteWebhooks(webhooks);
|
||||
}
|
||||
|
||||
async deleteInstanceWebhooks() {
|
||||
const webhooks = await this.webhookRepository.find();
|
||||
|
||||
return this.deleteWebhooks(webhooks);
|
||||
}
|
||||
|
||||
private async deleteWebhooks(webhooks: WebhookEntity[]) {
|
||||
void this.cacheService.deleteMany(webhooks.map((w) => w.cacheKey));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user