-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Clear Sentry breadcrumbs at the end of every request #17
Clear Sentry breadcrumbs at the end of every request #17
Conversation
Hi, thank you for using this bundle :) The listener you modified is called only on worker stop (process exit) and not on every request. A good place to fix this is in the middleware, where a |
Also, I see that |
@Baldinof you are right, i have changed the code to use this method instead. |
I don't see the new diff, did you pushed it? |
Sorry, it's pushed now |
👍 Can you call |
I moved the code to the middleware and added a test case. |
Perfect! Can you run |
Done! |
Thank you :) |
I released 1.3.2 with your fix. |
Thank you very much!! |
We are seeing breadcrumbs from previous requests on our traces in Sentry, this makes it less useful for debugging and also causes the memory usage to increase between requests.