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
Some of the sentry request will remain pending forever in Chrome.
note that other fetch requests to other domains do go through. Still, this is not ideal.
Observations
The promise buffer works at cutting requests off after 30 in flight requests (e.g. the above example only triggers 30 requests)
It seems to work to make a lot of keepalive requests to other domains, e.g.:
We have introduced
keepalive
in #5697. However, there have been some reports (e.g. #6049) that users have pending HTTP requests, probably due to this.We should set this flag to
false
for error events, and only set this flag for replays and transactions, as they have the characteristic:For errors, in contrast, you can have many at the same time, and it's not so likely to have (relevant) errors right before a page is switched.
This is IMHO the best tradeoff overall.
Reproduction
We could reproduce this with the following code:
Some of the sentry request will remain
pending
forever in Chrome.note that other fetch requests to other domains do go through. Still, this is not ideal.
Observations
The text was updated successfully, but these errors were encountered: