From 1e3dfdd97bf43f3fd63cd8d6aea0d6083722122f Mon Sep 17 00:00:00 2001 From: Max Isom Date: Thu, 21 Mar 2024 19:39:28 -0700 Subject: [PATCH] Reduce worker pool size --- src/app.module.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app.module.ts b/src/app.module.ts index b06187a..ee1ffa0 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -23,6 +23,7 @@ import {PoolModule} from './pool/pool.module'; ConfigModule.forRoot(), GraphileWorkerModule.forRootAsync({ useFactory: () => ({ + maxPoolSize: 2, connectionString: process.env.DATABASE_URL, crontab, concurrency: 1,