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

Add ability for methods to skip the artificial timeout #3007

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

infinite-persistence
Copy link
Collaborator

@infinite-persistence infinite-persistence commented Oct 23, 2023

In 9b44b7e, we added an artificial fetch timeout that's shorter than the browser's default so that (1) user don't have to wait too long (2) we get to differentiate the error as being a timeout (fetch errors all use the same string).

This commit provides the ability to specify list of methods that will bypass that mechanism (i.e. use browser's default timeout length. I think Firefox was like 90s), with txo_list being the first (known to be long, should just wait for it)

Test: kp

In 9b44b7e, we added an artificial fetch timeout that's shorter than the browser's default so that (1) user don't have to wait too long (2) we get to differentiate the error as being a timeout (fetch errors all use the same string).

This commit provides the ability to specify list of methods that will bypass that mechanism (i.e. use browser's default timeout length).
@tzarebczan
Copy link
Contributor

Awesome!

@tzarebczan tzarebczan merged commit c6d051f into master Oct 23, 2023
2 checks passed
@tzarebczan tzarebczan deleted the txo.timeout branch October 23, 2023 12:59
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.

2 participants