diff --git a/backend/ormconfig.js b/backend/ormconfig.js index 09e68b8d..65c9f838 100644 --- a/backend/ormconfig.js +++ b/backend/ormconfig.js @@ -33,8 +33,8 @@ module.exports = { synchronize: false, connectTimeout: 2000, - logging: ["error", "warn"], - maxQueryExecutionTime: 1000, + // logging: ["error", "warn"], + // maxQueryExecutionTime: 1000, // Entities entities: [entities], diff --git a/backend/src/index.ts b/backend/src/index.ts index 6f284cc9..f0c5fa9f 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -341,7 +341,7 @@ connect().then(async () => { (time, stack) => { console.error(`Blocked for ${time}ms, operation started here:`, stack); }, - { threshold: 750 }, + { threshold: 250 }, ); bot.on("loadingFinished", async () => {