From 6eac0424d4205e233a666cf74bc4329a9416d646 Mon Sep 17 00:00:00 2001 From: odykyi <24225497+odykyi@users.noreply.github.com> Date: Wed, 20 May 2020 11:46:59 +0300 Subject: [PATCH] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 2806850..1d86742 100644 --- a/index.js +++ b/index.js @@ -274,7 +274,7 @@ module.exports = (params) => { `SELECT ID,time FROM information_schema.processlist WHERE command = 'Sleep' AND time >= ? AND user = ? ORDER BY time DESC`, - [!isNaN(timeout) ? timeout : 60*15, _cfg.user]) + [!isNaN(timeout) ? timeout : zombieMaxTimeout, _cfg.user]) // Kill zombies for (let i = 0; i < zombies.length; i++) {