mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-05 10:16:41 +00:00
Fix exit node ping message
This commit is contained in:
@@ -89,5 +89,9 @@ export async function createHybridClientServer() {
|
|||||||
console.error("Failed to connect:", error);
|
console.error("Failed to connect:", error);
|
||||||
}
|
}
|
||||||
|
|
||||||
client.sendMessageInterval("heartbeat", { timestamp: Date.now() }, 10000);
|
client.sendMessageInterval(
|
||||||
|
"remoteExitNode/ping",
|
||||||
|
{ timestamp: Date.now() / 1000 },
|
||||||
|
60000
|
||||||
|
); // send every minute
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user