qcast -> qsp timeout 시간 5초 > 30초 변경
This commit is contained in:
parent
8f849e8821
commit
a35357efa7
@ -35,8 +35,8 @@ public class InterfaceQsp {
|
||||
try {
|
||||
url = new URL(apiPath);
|
||||
con = (HttpURLConnection) url.openConnection();
|
||||
con.setConnectTimeout(5000); // 서버에 연결되는 Timeout 시간 설정
|
||||
con.setReadTimeout(5000); // InputStream 읽어 오는 Timeout 시간 설정
|
||||
con.setConnectTimeout(30000); // 서버에 연결되는 Timeout 시간 설정
|
||||
con.setReadTimeout(30000); // InputStream 읽어 오는 Timeout 시간 설정
|
||||
con.setRequestMethod(httpMethod.toString());
|
||||
con.setRequestProperty("Content-Type", "application/json");
|
||||
con.setDoInput(true);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user