mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-26 21:36:24 +02:00
No need for this OkHttp log anymore
This commit is contained in:
@@ -20,12 +20,6 @@
|
||||
*/
|
||||
package com.vitorpamplona.amethyst.service.okhttp
|
||||
|
||||
import android.util.Log
|
||||
import com.vitorpamplona.amethyst.isDebug
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.GlobalScope
|
||||
import kotlinx.coroutines.delay
|
||||
import kotlinx.coroutines.launch
|
||||
import okhttp3.Dispatcher
|
||||
import okhttp3.OkHttpClient
|
||||
import java.net.InetSocketAddress
|
||||
@@ -51,6 +45,8 @@ class OkHttpClientFactory(
|
||||
maxRequests = 512
|
||||
}
|
||||
|
||||
/*
|
||||
DEBUG OK HTTP connections here.
|
||||
init {
|
||||
if (isDebug) {
|
||||
GlobalScope.launch(Dispatchers.IO) {
|
||||
@@ -61,6 +57,7 @@ class OkHttpClientFactory(
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
private val rootClient =
|
||||
OkHttpClient
|
||||
|
Reference in New Issue
Block a user