fix(benchmark): Fix scaling mode setup (#10780)
This commit is contained in:
@@ -154,7 +154,7 @@ services:
|
||||
- DB_POSTGRESDB_PASSWORD=password
|
||||
|
||||
volumes:
|
||||
- ${RUN_DIR}/n8n-main:/n8n
|
||||
- ${RUN_DIR}/n8n-main1:/n8n
|
||||
depends_on:
|
||||
n8n_worker1:
|
||||
condition: service_healthy
|
||||
|
||||
@@ -8,7 +8,7 @@ import { fs } from 'zx';
|
||||
* permissions get set correctly.
|
||||
*/
|
||||
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) {
|
||||
fs.ensureDirSync(path.join(runDir, dir));
|
||||
|
||||
Reference in New Issue
Block a user