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

Avoid the AbortController constructor during init #554

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

timostamm
Copy link
Member

Cloudflare limits where AbortController can be instantiated, see #550. We can safely remove our singleton.

There are other calls to the constructor in clients, but from what I can see they all happen when a request is made, so it should be possible to create a transport and a client during init, and make a request while handling a request.

@timostamm timostamm requested a review from smaye81 March 31, 2023 00:28
@timostamm timostamm merged commit 59bf736 into main Mar 31, 2023
@timostamm timostamm deleted the tstamm/avoid-abort-ctrl-ctor branch March 31, 2023 00:48
@smaye81 smaye81 mentioned this pull request Apr 4, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants