Tune Android VPN uplink workers
This commit is contained in:
@@ -56,7 +56,7 @@ public class RapVpnService extends VpnService {
|
||||
private static final boolean PACKET_WEBSOCKET_DATAPLANE_ENABLED = true;
|
||||
private static final int VPN_BATCH_MAX_PACKETS = 512;
|
||||
private static final int VPN_BATCH_MAX_BYTES = 1024 * 1024;
|
||||
private static final int UPLINK_WORKER_MAX_COUNT = 1;
|
||||
private static final int UPLINK_WORKER_MAX_COUNT = 4;
|
||||
private static final int UPLINK_QUEUE_CAPACITY = 32768;
|
||||
private static final int PRIORITY_QUEUE_CAPACITY = 4096;
|
||||
private static final int UPLINK_SEND_RETRY_COUNT = 2;
|
||||
@@ -114,7 +114,6 @@ public class RapVpnService extends VpnService {
|
||||
"timernet-host.qms.ru"
|
||||
};
|
||||
private static final String[] DEFAULT_TCP_WARMUP_TARGETS = new String[]{
|
||||
"192.168.200.61:18080",
|
||||
"192.168.200.95:3389",
|
||||
"188.40.167.82:80"
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user