mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
2bc3e32301
commit
3e9f32c42e
1 changed files with 6 additions and 5 deletions
|
|
@ -187,11 +187,12 @@ namespace PepperDash.Essentials.Core.Web.RequestHandlers
|
||||||
_portForwardTimeoutTimer?.Dispose();
|
_portForwardTimeoutTimer?.Dispose();
|
||||||
_portForwardTimeoutTimer = new CTimer(_ =>
|
_portForwardTimeoutTimer = new CTimer(_ =>
|
||||||
{
|
{
|
||||||
if (Debug.WebsocketSink.HasActiveConnections)
|
if (Debug.WebsocketSink.HasActiveConnections)
|
||||||
{
|
{
|
||||||
Debug.LogMessage(LogEventLevel.Debug, "Debug websocket has active connections; keeping port forward");
|
Debug.LogMessage(LogEventLevel.Debug, "Debug websocket has active connections; keeping port forward");
|
||||||
return;
|
StartPortForwardTimeout(port, csIp);
|
||||||
}
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Debug.LogMessage(LogEventLevel.Information, "No debug websocket connection within 30 seconds; removing port forward for port {0}", port);
|
Debug.LogMessage(LogEventLevel.Information, "No debug websocket connection within 30 seconds; removing port forward for port {0}", port);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue