File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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 ()
You can’t perform that action at this time.
0 commit comments