actually disable pings
This commit is contained in:
parent
f2708352b9
commit
6456d02d1e
|
|
@ -4,10 +4,10 @@
|
|||
<selectionStates>
|
||||
<SelectionState runConfigName="app">
|
||||
<option name="selectionMode" value="DROPDOWN" />
|
||||
<DropdownSelection timestamp="2026-03-07T04:13:08.327943277Z">
|
||||
<DropdownSelection timestamp="2026-03-07T04:20:37.707409563Z">
|
||||
<Target type="DEFAULT_BOOT">
|
||||
<handle>
|
||||
<DeviceId pluginId="PhysicalDevice" identifier="serial=a026a310" />
|
||||
<DeviceId pluginId="PhysicalDevice" identifier="serial=69K7MB899PKJGQBI" />
|
||||
</handle>
|
||||
</Target>
|
||||
</DropdownSelection>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
Name : TProxyService.java
|
||||
Author : hev <r@hev.cc>
|
||||
Copyright : Copyright (c) 2024 xyz
|
||||
Description : TProxy Service
|
||||
Description : TProxy Service with integrated Watchdog
|
||||
============================================================================
|
||||
*/
|
||||
|
||||
|
|
@ -97,11 +97,11 @@ public class TProxyService extends VpnService {
|
|||
Log.i(TAG, "Watchdog Thread: Started loop");
|
||||
while (isWatchdogRunning) {
|
||||
try {
|
||||
// Perform the stimulus (The real keep-alive)
|
||||
IIABWatchdog.sendStimulus(this);
|
||||
// Perform only the heartbeat stimulus (Intent-based)
|
||||
IIABWatchdog.performHeartbeat(this);
|
||||
|
||||
// Perform the debug ping (Checking if Termux is responsive)
|
||||
IIABWatchdog.performDebugPing(this);
|
||||
// TROUBLESHOOTING: Uncomment to test Termux responsiveness via ping
|
||||
// IIABWatchdog.performDebugPing(this);
|
||||
|
||||
// Sleep for 30 seconds
|
||||
Thread.sleep(30000);
|
||||
|
|
|
|||
Loading…
Reference in New Issue