From 215f560836dfcda2d049886dacb52a42c3c2d0f1 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Tue, 5 Oct 2021 22:47:33 +0300 Subject: [PATCH] debug+++ --- backend/ormconfig.js | 4 ++-- backend/src/index.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 () => {