Skip to content

Commit

Permalink
Reduce worker pool size
Browse files Browse the repository at this point in the history
  • Loading branch information
codetheweb committed Mar 22, 2024
1 parent 206ff1c commit 1e3dfdd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1e3dfdd

Please sign in to comment.