Feature: Make defaultTimeout
property a variable instead of a constant.
#1356
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description & motivation
In a project I'm currently working on, we've found it handy to be able to override the defaultTimeout property which is currently defined as a constant.
Currently we are forking the library and have made this modification there, however it's the last remaining change that we need the fork for. So, I am proposing to update the main library and we can do away with maintaining a custom fork.
I'm not suggesting it's advisable to change the value of this property necessarily, and I respect that if you'd rather leave it as a constant, but it works for a specific need we have and I thought I'd propose making the change in the main library as well since it's purely an additive change that allows users of the library additional flexibility without breaking any existing code.
Type of change
Please delete options that are not relevant.