-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
fix: Rewrite transport and queue to prevent memory leaks #1795
Conversation
Generated by 🚫 dangerJS |
0b37d7a
to
8d14c6e
Compare
return { | ||
status: result ? Status.Success : Status.Failed, | ||
}; | ||
return this.buffer.add( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we sure that we want to store it in the buffer here instead of doing it somewhere else? This way we are forcing users to write this code in all custom transports, otherwise it will skip the buffering completely.
On the other hand, it gives them control over buffering... 🤔
👌 |
No description provided.