We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86923c3 commit 2d49171Copy full SHA for 2d49171
src/type-orm/database.module.ts
@@ -25,10 +25,12 @@ import {
25
process.env.NODE_ENV === 'production' ? ['error', 'warn'] : 'all',
26
logger: 'advanced-console',
27
poolSize: process.env.NODE_ENV === 'production' ? 5 : 1, // 풀 사이즈 조절
28
- maxQueryExecutionTime: 3000, // 롱 쿼리 로그 출력 시간
+ maxQueryExecutionTime: 2000, // 롱 쿼리 로그 출력 시간
29
+ retryAttempts: 2,
30
+ retryDelay: 1000,
31
extra: {
- max: 10, // 최대 연결 수
- connectionTimeoutMillis: 4000, // 최대 커넥션 대기 시간
32
+ max: 5, // 최대 연결 수
33
+ connectionTimeoutMillis: 3000, // 최대 커넥션 대기 시간
34
},
35
}),
36
async dataSourceFactory(options) {
0 commit comments