Skip to content

Commit

Permalink
Update to 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
GHMatti authored and GHMatti committed May 17, 2019
1 parent e5762d8 commit ee2562d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions mysql-async.js
Original file line number Diff line number Diff line change
Expand Up @@ -5234,14 +5234,6 @@ class MySQL {

module.exports = MySQL;

function keepAlive() {
if (!keepAliveSeconds || keepAliveSeconds <= 0) return; // Safeguard to stop when disabled

execute({ sql: 'SELECT 1', typeCast }, 'keepAlive').then(() => {
setTimeout(keepAlive, keepAliveSeconds * 1000);
});
}


/***/ }),
/* 33 */
Expand Down

0 comments on commit ee2562d

Please sign in to comment.