260330:1011 Addied correspondence_revieion_attcahments table table #01
CI / CD Pipeline / build (push) Failing after 21m19s
CI / CD Pipeline / deploy (push) Has been skipped

This commit is contained in:
admin
2026-03-30 10:11:40 +07:00
parent 1c6fec6c65
commit c83588ab43
287 changed files with 15117 additions and 69 deletions
+8
View File
@@ -118,6 +118,14 @@ import { MigrationModule } from './modules/migration/migration.module';
charset: 'utf8mb4',
autoLoadEntities: true,
synchronize: false, // Production Ready: false
// ป้องกัน ECONNRESET จาก idle connection ที่ถูก MariaDB ตัด
connectTimeout: 30000, // 30 วินาที
acquireTimeout: 30000, // 30 วินาที
extra: {
connectionLimit: 10,
enableKeepAlive: true, // ส่ง TCP keepalive ป้องกัน connection ตาย
keepAliveInitialDelay: 10000, // 10 วินาทีก่อนส่ง keepalive ครั้งแรก
},
}),
}),