Skip to content

Throttling #679

@cjmielke

Description

@cjmielke

Is there a way to throttle the error reporting?

This plugin is working great for me, but I did find that on one particular page on my site, with some browsers, an old D3 library was producing many errors per second. With sentry enabled, the users browser would crash, I think because it was queuing up too many async requests. With sentry disabled, the client script would run just find (despite the errors in the console)

Ive noticed 'shouldSendCallback' ... maybe I could do something like logging the timestamp of every error report and block sending if its less than a second?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions