Timeout up to 60 sec
This commit is contained in:
parent
8394484eb0
commit
9167977c7c
|
@ -25,8 +25,8 @@ open class Client {
|
|||
}
|
||||
|
||||
con.requestMethod=method
|
||||
con.connectTimeout=10000
|
||||
con.readTimeout=10000
|
||||
con.connectTimeout=60000
|
||||
con.readTimeout=60000
|
||||
|
||||
if(method == "POST")
|
||||
con.doOutput=true
|
||||
|
|
Loading…
Reference in New Issue