mirror of
https://github.com/yggdrasil-network/crispa-android.git
synced 2025-01-22 16:06:30 +00:00
1. ping delay possible fix
This commit is contained in:
parent
77c01df982
commit
a24e3ad645
@ -230,7 +230,7 @@ class YggdrasilTunService : VpnService() {
|
|||||||
if (length > 0){
|
if (length > 0){
|
||||||
yggConduitEndpoint.send(buffer.sliceArray(IntRange(0, length - 1)))
|
yggConduitEndpoint.send(buffer.sliceArray(IntRange(0, length - 1)))
|
||||||
} else {
|
} else {
|
||||||
Thread.sleep(100)
|
Thread.sleep(10)
|
||||||
}
|
}
|
||||||
} catch (e: IOException) {
|
} catch (e: IOException) {
|
||||||
e.printStackTrace()
|
e.printStackTrace()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user