Skip to content

Hardcode default timeout to 120000 - #26

Merged
weppos merged 1 commit into
dnsimple:masterfrom
jonchurch:patch-1
Feb 25, 2020
Merged

Hardcode default timeout to 120000#26
weppos merged 1 commit into
dnsimple:masterfrom
jonchurch:patch-1

Conversation

@jonchurch

Copy link
Copy Markdown
Contributor

In Node.js v13 this value has been changed to 0. Hardcoding it to previous value will preserve behavior under Node.js v13

Closes #25

@aeden aeden assigned aeden and jonchurch and unassigned aeden Feb 24, 2020
@aeden
aeden requested review from aeden and weppos February 24, 2020 21:21
@aeden

aeden commented Feb 24, 2020

Copy link
Copy Markdown
Member

Thank you for the PR @jonchurch. I'll have @weppos look over it in the morning and get it merged in to master.

@weppos weppos left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

As a side note, I question 120 seconds being a reasonable default timeout (given our system actually timeouts at a far lower value), but that's outside the scope of this PR which I'll happily merge.

@weppos
weppos merged commit 59c84c3 into dnsimple:master Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default Node.js HTTP Timeout changes in v13

3 participants