Skip to content

Commit 6b2e6bb

Browse files
committed
+ Feedback changes
1 parent 3064817 commit 6b2e6bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/Invokers/ApiClient.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public class ApiClient {
138138

139139
private JSON json;
140140
private String versionInfo;
141-
private static ConnectionPool connectionPool = new ConnectionPool(5, 10, TimeUnit.SECONDS);
141+
private static ConnectionPool connectionPool;
142142
private HttpLoggingInterceptor loggingInterceptor;
143143
private long computationStartTime;
144144
private static Logger logger = LogManager.getLogger(ApiClient.class);
@@ -159,6 +159,7 @@ public class ApiClient {
159159
public static OkHttpClient initializeFinalVariables() {
160160
HttpLoggingInterceptor logging = new HttpLoggingInterceptor();
161161
logging.setLevel(Level.NONE);
162+
connectionPool = new ConnectionPool(5, 10, TimeUnit.SECONDS);
162163

163164
try {
164165
return new OkHttpClient.Builder()

0 commit comments

Comments
 (0)