diff --git a/lib/core-pool.js b/lib/core-pool.js index 70e537fb..df2c9eb4 100644 --- a/lib/core-pool.js +++ b/lib/core-pool.js @@ -12,10 +12,10 @@ module.exports = class CorePool { linger (core) { const hex = b4a.toString(core.key, 'hex') - const session = core.session() - if (this.pool.has(hex)) return + const session = core.session() + const wrap = { session, timeout: setTimeout(ontimeout, LINGER_TIME, this, session)