Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use resetRetrieveHandlers ? #277

Open
BenjD90 opened this issue May 6, 2020 · 0 comments
Open

How to use resetRetrieveHandlers ? #277

BenjD90 opened this issue May 6, 2020 · 0 comments

Comments

@BenjD90
Copy link

BenjD90 commented May 6, 2020

Hello,

I suspect the library to generate a memory leak :/
After some research, I found this PR #215 that seems to be a good fix :)

However, I doesn't see anywhere how I am supposed to use it, should I add a :

setInterval(() => sourceMapSupport.resetRetrieveHandlers(), 60000); // clean every minute

in my app ?

This seems a bit strange to me.
For more context, my app is a web micro-service that treat http requests and amqp messages.

Thanks in advance for any advice 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant