Skip to content

Commit

Permalink
延长判卷超时时间
Browse files Browse the repository at this point in the history
  • Loading branch information
Smith-Cruise committed Mar 1, 2018
1 parent 189583b commit 91d9318
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,19 @@
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeUnit;

/**
* @author Smith
**/
public class Eagle implements JudgerApi {

private final OkHttpClient CLIENT = new OkHttpClient();
private final OkHttpClient CLIENT = new OkHttpClient()
.newBuilder()
.connectTimeout(30, TimeUnit.SECONDS)
.readTimeout(30, TimeUnit.SECONDS)
.writeTimeout(30, TimeUnit.SECONDS)
.build();

private String REQUEST_URL;

Expand Down

0 comments on commit 91d9318

Please sign in to comment.