No need for this OkHttp log anymore

This commit is contained in:
Vitor Pamplona
2025-07-10 18:08:09 -04:00
parent 62253d8601
commit f3e08bd297

View File

@@ -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