mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 17:38:49 +00:00
be conservative about read timeout for now
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@49 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
8c8184cd0e
commit
7776ca7609
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ public final class ParserUtils
|
|||
connection.setDoInput(true);
|
||||
connection.setDoOutput(request != null);
|
||||
connection.setConnectTimeout(5000);
|
||||
connection.setReadTimeout(5000);
|
||||
connection.setReadTimeout(10000);
|
||||
connection.addRequestProperty("User-Agent", SCRAPE_USER_AGENT);
|
||||
|
||||
if (request != null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue