Ups the max requests thread allowed to support people with over 1000 follows
This commit is contained in:
+2
-1
@@ -61,7 +61,8 @@ class OkHttpClientFactory(
|
|||||||
val myDispatcher =
|
val myDispatcher =
|
||||||
Dispatcher().apply {
|
Dispatcher().apply {
|
||||||
if (!isEmulator()) {
|
if (!isEmulator()) {
|
||||||
maxRequests = 512
|
maxRequestsPerHost = 10
|
||||||
|
maxRequests = 1024
|
||||||
} else {
|
} else {
|
||||||
Log.i("OkHttpClientFactory", "Emulator detected, using default maxRequests: 64.")
|
Log.i("OkHttpClientFactory", "Emulator detected, using default maxRequests: 64.")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user