mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-21 21:29:00 +00:00
fix challenges sometimes not loading
This commit is contained in:
parent
176cc7d0ee
commit
f24936338c
1 changed files with 2 additions and 0 deletions
|
|
@ -109,6 +109,7 @@ import java.util.Date;
|
|||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import javax.net.ssl.SSLException;
|
||||
|
||||
|
|
@ -201,6 +202,7 @@ public class ApiClientImpl implements Action1<Throwable>, ApiClient {
|
|||
lastAPICallURL = original.url().toString();
|
||||
return chain.proceed(request);
|
||||
})
|
||||
.readTimeout(45, TimeUnit.SECONDS)
|
||||
.build();
|
||||
|
||||
Server server = new Server(this.hostConfig.getAddress());
|
||||
|
|
|
|||
Loading…
Reference in a new issue