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
_contextId: size keeps continuing to grow, event after destroying the namespace. Doesn't create a Performance or a Memory leak problem when using in a production???
as you can see, i am destroying the namespace if it is not active
`app.use((req, res, next) => {
if (getNamespace('ADMIN') && getNamespace('ADMIN').active === null) {
destroyNamespace('ADMIN')
}
if (getNamespace('user') &&getNamespace('user').active === null) {
destroyNamespace('user');
}
next()});`
But the _contexts Map is growing in size.
May be i have misunderstand this in the wrong way, or may be not, but i think this gonna create when the server gets a request from multiple users
The text was updated successfully, but these errors were encountered:
lioulbehailu
changed the title
_contextId: size keeps continuing to grow, event after destroying the namespace
_contextId: size keeps continuing to grow, even after destroying the namespace
Jul 29, 2021
_contextId: size keeps continuing to grow, event after destroying the namespace. Doesn't create a Performance or a Memory leak problem when using in a production???
as you can see, i am destroying the namespace if it is not active
`app.use((req, res, next) => {
But the _contexts Map is growing in size.
May be i have misunderstand this in the wrong way, or may be not, but i think this gonna create when the server gets a request from multiple users
The text was updated successfully, but these errors were encountered: