分块调节
This commit is contained in:
parent
08edebc431
commit
bc672c7965
|
|
@ -12,7 +12,7 @@ import kotlinx.coroutines.runBlocking
|
||||||
|
|
||||||
object ProxyServer {
|
object ProxyServer {
|
||||||
private val THREAD_NUM = Runtime.getRuntime().availableProcessors()
|
private val THREAD_NUM = Runtime.getRuntime().availableProcessors()
|
||||||
private val partSize = 1024 * 1024 * 2
|
private val partSize = 1024 * 1024
|
||||||
private var port = 12345
|
private var port = 12345
|
||||||
private var httpServer: AdvancedHttpServer? = null
|
private var httpServer: AdvancedHttpServer? = null
|
||||||
private val infos = mutableMapOf<String, MutableMap<String, MutableList<String>>>();
|
private val infos = mutableMapOf<String, MutableMap<String, MutableList<String>>>();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue