From 309728266dd0b1584c9fc1647d401bff63cc4894 Mon Sep 17 00:00:00 2001 From: rikaaa0928 Date: Tue, 15 Oct 2024 09:37:21 +0800 Subject: [PATCH] set back so timeout --- app/src/main/java/moe/rikaaa0928/uot/UogClient.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/moe/rikaaa0928/uot/UogClient.kt b/app/src/main/java/moe/rikaaa0928/uot/UogClient.kt index e75a456..090634e 100644 --- a/app/src/main/java/moe/rikaaa0928/uot/UogClient.kt +++ b/app/src/main/java/moe/rikaaa0928/uot/UogClient.kt @@ -115,7 +115,7 @@ class UogClient(val lPort: Int, val endpoint: String, val password: String) : Br req = Channel() val res = service.startStream(req!!.consumeAsFlow()); udpSocket.set(DatagramSocket(lPort)) - udpSocket.get()!!.soTimeout = 1000 * 60 * 30 + udpSocket.get()!!.soTimeout = 1000 * 5 // val job = GlobalScope.launch {