diff --git a/docker/kc-cron-job/active-sessions.js b/docker/kc-cron-job/active-sessions.js index afebc667..b47a8c65 100644 --- a/docker/kc-cron-job/active-sessions.js +++ b/docker/kc-cron-job/active-sessions.js @@ -48,7 +48,6 @@ async function main() { await client.connect(); if (dataset.length > 0) await client.query(query); else log('no sessions found'); - await client.end(); } catch (err) { console.log(err); } finally {