Skip to content

Commit

Permalink
Now sending is alive message every 1 minute.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adir111 committed Sep 4, 2024
1 parent 6ce748c commit 88d6702
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hkube_python_wrapper/wrapper/wc.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ def __init__(self, msg_queue, encoding, url):
self._active = True
self._firstConnect = False
self._printThrottleMessages = {
messages.outgoing.streamingStatistics: {"delay": 240, "lastPrint": None}
messages.outgoing.streamingStatistics: {"delay": 240, "lastPrint": None},
messages.outgoing.alive: {"delay": 60, "lastPrint": None}
}
self._encoding = Encoding(encoding)
self._ws_opcode = ABNF.OPCODE_BINARY if self._encoding.isBinary else ABNF.OPCODE_TEXT
Expand Down

0 comments on commit 88d6702

Please sign in to comment.