mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
perf(core): Shorten bootup for all instance types (#15856)
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -25,3 +25,4 @@ build-storybook.log
|
||||
*.junit.xml
|
||||
junit.xml
|
||||
test-results.json
|
||||
*.0x
|
||||
|
||||
@@ -4,7 +4,6 @@ import { Flags } from '@oclif/core';
|
||||
import { UserError } from 'n8n-workflow';
|
||||
|
||||
import { RISK_CATEGORIES } from '@/security-audit/constants';
|
||||
import { SecurityAuditService } from '@/security-audit/security-audit.service';
|
||||
import type { Risk } from '@/security-audit/types';
|
||||
|
||||
import { BaseCommand } from './base-command';
|
||||
@@ -51,6 +50,8 @@ export class SecurityAudit extends BaseCommand {
|
||||
throw new UserError([message, hint].join('. '));
|
||||
}
|
||||
|
||||
const { SecurityAuditService } = await import('@/security-audit/security-audit.service');
|
||||
|
||||
const result = await Container.get(SecurityAuditService).run(
|
||||
categories,
|
||||
auditFlags['days-abandoned-workflow'],
|
||||
|
||||
Reference in New Issue
Block a user