Timeout up to 60 sec

This commit is contained in:
Ivan Agosto 2019-10-19 14:02:13 -05:00
parent 8394484eb0
commit 9167977c7c
1 changed files with 2 additions and 2 deletions

View File

@ -25,8 +25,8 @@ open class Client {
} }
con.requestMethod=method con.requestMethod=method
con.connectTimeout=10000 con.connectTimeout=60000
con.readTimeout=10000 con.readTimeout=60000
if(method == "POST") if(method == "POST")
con.doOutput=true con.doOutput=true