mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 14:11:50 +00:00
debug+++
This commit is contained in:
parent
570e5cc491
commit
215f560836
2 changed files with 3 additions and 3 deletions
|
@ -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],
|
||||||
|
|
|
@ -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 () => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue