mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2026-08-05 19:38:36 +02:00
feat(core): Lazy-load nodes and credentials to reduce baseline memory usage (#4577)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import type { IDataObject } from 'n8n-workflow';
|
||||
import { Column, Entity, PrimaryColumn } from 'typeorm';
|
||||
|
||||
export interface ISettingsDb {
|
||||
interface ISettingsDb {
|
||||
key: string;
|
||||
value: string | boolean | IDataObject | number;
|
||||
loadOnStartup: boolean;
|
||||
|
||||
@@ -65,7 +65,7 @@ export function logMigrationEnd(
|
||||
}, 100);
|
||||
}
|
||||
|
||||
export function batchQuery(query: string, limit: number, offset = 0): string {
|
||||
function batchQuery(query: string, limit: number, offset = 0): string {
|
||||
return `
|
||||
${query}
|
||||
LIMIT ${limit}
|
||||
|
||||
Reference in New Issue
Block a user