mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04:06 -08:00
refactor(benchmark): Rename scaling mode setups (#10783)
This commit is contained in:
parent
c133a6ef89
commit
b2b6190cc0
|
@ -4,8 +4,7 @@ import path from 'path';
|
|||
import { fs } from 'zx';
|
||||
|
||||
/**
|
||||
* Creates the needed directories for the queue setup so their
|
||||
* permissions get set correctly.
|
||||
* Creates the needed directories so the permissions get set correctly.
|
||||
*/
|
||||
export function setup({ runDir }) {
|
||||
const neededDirs = ['n8n', 'postgres'];
|
||||
|
|
|
@ -4,8 +4,7 @@ import path from 'path';
|
|||
import { fs } from 'zx';
|
||||
|
||||
/**
|
||||
* Creates the needed directories for the queue setup so their
|
||||
* permissions get set correctly.
|
||||
* Creates the needed directories so the permissions get set correctly.
|
||||
*/
|
||||
export function setup({ runDir }) {
|
||||
const neededDirs = ['n8n-worker1', 'n8n-worker2', 'n8n-main1', 'n8n-main2', 'postgres'];
|
|
@ -4,8 +4,7 @@ import path from 'path';
|
|||
import { fs } from 'zx';
|
||||
|
||||
/**
|
||||
* Creates the needed directories for the queue setup so their
|
||||
* permissions get set correctly.
|
||||
* Creates the needed directories so the permissions get set correctly.
|
||||
*/
|
||||
export function setup({ runDir }) {
|
||||
const neededDirs = ['n8n-worker1', 'n8n-worker2', 'n8n-main', 'postgres'];
|
|
@ -4,8 +4,7 @@ import path from 'path';
|
|||
import { fs } from 'zx';
|
||||
|
||||
/**
|
||||
* Creates the needed directories for the queue setup so their
|
||||
* permissions get set correctly.
|
||||
* Creates the needed directories so the permissions get set correctly.
|
||||
*/
|
||||
export function setup({ runDir }) {
|
||||
const neededDirs = ['n8n'];
|
||||
|
|
|
@ -4,8 +4,7 @@ import path from 'path';
|
|||
import { fs } from 'zx';
|
||||
|
||||
/**
|
||||
* Creates the needed directories for the queue setup so their
|
||||
* permissions get set correctly.
|
||||
* Creates the needed directories so the permissions get set correctly.
|
||||
*/
|
||||
export function setup({ runDir }) {
|
||||
const neededDirs = ['n8n'];
|
||||
|
|
|
@ -37,9 +37,9 @@ async function main() {
|
|||
const duration = argv.duration;
|
||||
|
||||
const hasN8nLicense = !!n8nLicenseCert || !!n8nLicenseActivationKey;
|
||||
if (n8nSetupToUse === 'scaling' && !hasN8nLicense) {
|
||||
if (n8nSetupToUse === 'scaling-multi-main' && !hasN8nLicense) {
|
||||
console.error(
|
||||
'n8n license is required to run the scaling setup. Please provide N8N_LICENSE_CERT or N8N_LICENSE_ACTIVATION_KEY',
|
||||
'n8n license is required to run the multi-main scaling setup. Please provide N8N_LICENSE_CERT or N8N_LICENSE_ACTIVATION_KEY (and N8N_LICENSE_TENANT_ID if needed)',
|
||||
);
|
||||
process.exit(1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue