Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add --idle-timeout flag #74

Merged
merged 3 commits into from
Aug 2, 2021
Merged

Add --idle-timeout flag #74

merged 3 commits into from
Aug 2, 2021

Conversation

imjoehaines
Copy link
Contributor

@imjoehaines imjoehaines commented Jul 28, 2021

Goal

This PR adds a new --idle-timeout flag to all commands which controls the network request idle timeout (see Node docs)

This is a more user-friendly alternative to the existing environment variable BUGSNAG_TIMEOUT_MS. The new flag uses minutes (--idle-timeout 10 is a 10 minute timeout) which is much more ergonomic than BUGSNAG_TIMEOUT_MS=60000

I've also raised the default timeout to 10 minutes as it seemed to be hit somewhat frequently at 5

@imjoehaines imjoehaines requested a review from djskinner July 28, 2021 14:10
@imjoehaines imjoehaines merged commit 4319519 into next Aug 2, 2021
@imjoehaines imjoehaines deleted the timeouts branch August 2, 2021 08:51
@imjoehaines imjoehaines mentioned this pull request Aug 4, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants