From a24e3ad645f9539a9d34ef82fd222292c4965c25 Mon Sep 17 00:00:00 2001 From: vadym Date: Wed, 5 Aug 2020 04:11:14 -0700 Subject: [PATCH] 1. ping delay possible fix --- .../java/io/github/chronosx88/yggdrasil/YggdrasilTunService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/github/chronosx88/yggdrasil/YggdrasilTunService.kt b/app/src/main/java/io/github/chronosx88/yggdrasil/YggdrasilTunService.kt index 4575c4a..f71d2fd 100644 --- a/app/src/main/java/io/github/chronosx88/yggdrasil/YggdrasilTunService.kt +++ b/app/src/main/java/io/github/chronosx88/yggdrasil/YggdrasilTunService.kt @@ -230,7 +230,7 @@ class YggdrasilTunService : VpnService() { if (length > 0){ yggConduitEndpoint.send(buffer.sliceArray(IntRange(0, length - 1))) } else { - Thread.sleep(100) + Thread.sleep(10) } } catch (e: IOException) { e.printStackTrace()