You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this package with great joy. However, there is one thing I noticed during my usage. I would like to have the expired sessions cleaned, that's why i activated the reapInterval option. As this process would block the main thread in production scenario, i also activated the reapAsync option.
Sadly, when reapAsync is true, all sessions are deleted regardless of their TTL. This can be reproduced with any sample project by using reapAsync: true and reapInterval: someSmallValueInSeconds. In contrast, without reapAsync, everything work as expected.
Environment
Personal laptop, Macbook Pro 2017
MacOS High Sierra
Node 10.12.0
The text was updated successfully, but these errors were encountered:
Hi all,
I'm using this package with great joy. However, there is one thing I noticed during my usage. I would like to have the expired sessions cleaned, that's why i activated the
reapInterval
option. As this process would block the main thread in production scenario, i also activated thereapAsync
option.Sadly, when
reapAsync
istrue
, all sessions are deleted regardless of their TTL. This can be reproduced with any sample project by usingreapAsync: true
andreapInterval: someSmallValueInSeconds
. In contrast, without reapAsync, everything work as expected.Environment
Personal laptop, Macbook Pro 2017
MacOS High Sierra
Node 10.12.0
The text was updated successfully, but these errors were encountered: