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

stop timeouting after 45 seconds [ready for review] #1472

Merged
merged 2 commits into from
Jul 7, 2019

Conversation

matkoniecz
Copy link
Member

@matkoniecz matkoniecz commented Jul 5, 2019

default overpass timeout is 180 seconds
should fix #1010, may help with #1466

Construction tests started failing in a new way, but quest download already works nicer

AddBusStopName: Added 0 new and removed 0 already resolved quests. (Total: 0) in 82s

AddPlaceName: Added 41 new and removed 0 already resolved quests. (Total: 41) in 95s

logged in my testing would be a timeout errors before this change (BTW, I wonder is AddBusStopName unreasonably expensive or is it just an unlucky call)

default overpass timeout is 180 seconds
should fix streetcomplete#1010, may help with streetcomplete#1466
@rugk
Copy link
Contributor

rugk commented Jul 6, 2019

If it fixes #1010 maybe we can re-enable integration tests for CI? (AFAIK they were disabled, because of that issue.)

@matkoniecz
Copy link
Member Author

Nope. See log of CI tests, startup of emulator was failing.

@westnordost
Copy link
Member

AddBusStopName is quite expensive, because of the ors.

@westnordost
Copy link
Member

westnordost commented Jul 6, 2019

PR: Makes sense, if the default Overpass timeout is that long!

@matkoniecz matkoniecz changed the title stop timeouting after 45 seconds stop timeouting after 45 seconds [ready for review] Jul 7, 2019
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.

integration tests are prone to failing with java.net.SocketTimeoutException
3 participants