Skip to content

Commit

Permalink
Update DatabaseManager.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SleepyYui committed Jan 26, 2023
1 parent 576adfe commit cdc8cf6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bot/core/DatabaseManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ module.exports = mysql.createPool({
database : process.env.DATABASE_DATABASE,
multipleStatements: true,
// keepAlive to try to prevent the connection from being closed by the database
keepAlive: true,
keepAliveInitialDelay: 28799 // 1s less than 8 hours | default timeout when no activity is detected is 8 hours
});

0 comments on commit cdc8cf6

Please sign in to comment.