fix(benchmark): Fix scaling mode setup (#10780)

This commit is contained in:
Tomi Turtiainen 2024-09-12 11:54:26 +03:00 committed by GitHub
parent 8c6cd014a0
commit 8496adb94f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -154,7 +154,7 @@ services:
- DB_POSTGRESDB_PASSWORD=password - DB_POSTGRESDB_PASSWORD=password
volumes: volumes:
- ${RUN_DIR}/n8n-main:/n8n - ${RUN_DIR}/n8n-main1:/n8n
depends_on: depends_on:
n8n_worker1: n8n_worker1:
condition: service_healthy condition: service_healthy

View file

@ -8,7 +8,7 @@ import { fs } from 'zx';
* permissions get set correctly. * permissions get set correctly.
*/ */
export function setup({ runDir }) { export function setup({ runDir }) {
const neededDirs = ['n8n-worker1', 'n8n-worker2', 'n8n-main1', 'n8n_main2', 'postgres']; const neededDirs = ['n8n-worker1', 'n8n-worker2', 'n8n-main1', 'n8n-main2', 'postgres'];
for (const dir of neededDirs) { for (const dir of neededDirs) {
fs.ensureDirSync(path.join(runDir, dir)); fs.ensureDirSync(path.join(runDir, dir));