diff --git a/src/data-source.ts b/src/data-source.ts index 2539ec5..615152e 100644 --- a/src/data-source.ts +++ b/src/data-source.ts @@ -27,6 +27,7 @@ export const AppDataSource = new DataSource({ // prod = false (self-signed certificates need to be allowed in prod for aws deployment), dev = true rejectUnauthorized: false }, + connectTimeoutMS: 10000, }) export const historyDataRepository = AppDataSource.getRepository(HistoryData)