3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-16 22:21:51 +00:00
This commit is contained in:
Dragory 2021-10-05 22:47:33 +03:00
parent 570e5cc491
commit 215f560836
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
2 changed files with 3 additions and 3 deletions

View file

@ -33,8 +33,8 @@ module.exports = {
synchronize: false, synchronize: false,
connectTimeout: 2000, connectTimeout: 2000,
logging: ["error", "warn"], // logging: ["error", "warn"],
maxQueryExecutionTime: 1000, // maxQueryExecutionTime: 1000,
// Entities // Entities
entities: [entities], entities: [entities],

View file

@ -341,7 +341,7 @@ connect().then(async () => {
(time, stack) => { (time, stack) => {
console.error(`Blocked for ${time}ms, operation started here:`, stack); console.error(`Blocked for ${time}ms, operation started here:`, stack);
}, },
{ threshold: 750 }, { threshold: 250 },
); );
bot.on("loadingFinished", async () => { bot.on("loadingFinished", async () => {