remove db caching

This commit is contained in:
Hongbo Wu 2023-09-20 16:21:33 +08:00
parent f3db9345ae
commit 8712107a2f

View file

@ -16,7 +16,6 @@ export const appDataSource = new DataSource({
subscribers: [__dirname + '/events/**/*{.js,.ts}'],
namingStrategy: new SnakeNamingStrategy(),
logger: new CustomTypeOrmLogger(),
cache: true,
connectTimeoutMS: 40000, // 40 seconds
maxQueryExecutionTime: 10000, // 10 seconds
})