dont log websocket events
This commit is contained in:
parent
e531419364
commit
fae4458e8b
1 changed files with 2 additions and 2 deletions
|
@ -64,8 +64,8 @@ class Handler(WebSocketHandler):
|
||||||
main.add_callback(lambda: self.write_message(message))
|
main.add_callback(lambda: self.write_message(message))
|
||||||
|
|
||||||
def trigger_event(event, data):
|
def trigger_event(event, data):
|
||||||
if len(state.websockets):
|
#if len(state.websockets):
|
||||||
logger.debug('trigger event %s %s %s', event, data, len(state.websockets))
|
# logger.debug('trigger event %s %s %s', event, data, len(state.websockets))
|
||||||
for ws in state.websockets:
|
for ws in state.websockets:
|
||||||
try:
|
try:
|
||||||
ws.post(event, data)
|
ws.post(event, data)
|
||||||
|
|
Loading…
Reference in a new issue