Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

fix: 10 minute connection timeout is too low for some use cases #443

Merged
merged 1 commit into from
Dec 8, 2020

Conversation

jlipps
Copy link
Member

@jlipps jlipps commented Dec 7, 2020

Someone reported a bug where they tried to background the app for 30 minutes and it didn't work. Now we know why!

lib/express/server.js Outdated Show resolved Hide resolved
Copy link
Contributor

@mykola-mokhnach mykola-mokhnach left a comment

Choose a reason for hiding this comment

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

I would not do that. The idea is that this timeout should not be greater than the default OS timeout, which is 7200 seconds by default in most of the popular operating systems https://www.veritas.com/support/en_US/article.100028680

Consider making it configurable rather than changing the default value.

@jlipps
Copy link
Member Author

jlipps commented Dec 8, 2020

@mykola-mokhnach it is still less than 7200 secs. but making it configurable is a good idea for sure.

@jlipps
Copy link
Member Author

jlipps commented Dec 8, 2020

ok @mykola-mokhnach i made it configurable. now will update the main appium server with an arg

@jlipps jlipps merged commit 70d5866 into master Dec 8, 2020
@jlipps jlipps deleted the jlipps-timeout-fix-master branch December 8, 2020 20:04
@jlipps
Copy link
Member Author

jlipps commented Dec 8, 2020

published in 7.4.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants