implement larger pool size for db

This commit is contained in:
Amruth Pillai
2023-04-20 22:52:24 +02:00
parent 7b98277c32
commit 667e51abdc

View File

@ -17,6 +17,7 @@ import { User } from '@/users/entities/user.entity';
username: configService.get<string>('postgres.username'), username: configService.get<string>('postgres.username'),
password: configService.get<string>('postgres.password'), password: configService.get<string>('postgres.password'),
database: configService.get<string>('postgres.database'), database: configService.get<string>('postgres.database'),
poolSize: 22,
synchronize: true, synchronize: true,
entities: [User, Resume], entities: [User, Resume],
ssl: configService.get<string>('postgres.certificate') && { ssl: configService.get<string>('postgres.certificate') && {