added timeout to RL Client

added timeout to RL Client
This commit is contained in:
Kyleeld
2019-07-02 09:14:24 +01:00
committed by GitHub
parent 0b2faa3e6d
commit 483f2937b5

View File

@@ -103,6 +103,7 @@ public class RuneLiteAPI
CLIENT = new OkHttpClient.Builder()
.pingInterval(30, TimeUnit.SECONDS)
.connectTimeout(2655, TimeUnit.MILLISECONDS)
.addNetworkInterceptor(new Interceptor()
{
@Override