Filter out telemetry from when not needed
This commit is contained in:
1 parent
207f96c882
commit
0c79787161
16 files changed
+63
-56
No files matched your search
@@ -83,9 +83,7 @@ class LongPoller
|
||||
|
||||
' Not receiving data for LONG_POLL_TIMEOUT_MS seconds might be a sign of a dead connection
|
||||
if m.socket_timer.TotalMilliseconds() > LONG_POLL_TIMEOUT_MS
|
||||
m.noTelemetry = true
|
||||
LogWarn("Timeout after", LONG_POLL_TIMEOUT_MS, "ms")
|
||||
m.noTelemetry = false
|
||||
LogWarnNoTelemetry("Timeout after", LONG_POLL_TIMEOUT_MS, "ms")
|
||||
m.CloseSocket()
|
||||
return false
|
||||
end if
|
||||
|
||||
Reference in new issue
Block a user