Skip to content

Commit

Permalink
add websocket ping to client/server example
Browse files Browse the repository at this point in the history
  • Loading branch information
sc1f committed May 11, 2020
1 parent 0d38dc5 commit 746f57f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/perspective/examples/client_server_edits.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def make_app():
(r"/", MainHandler),
# create a websocket endpoint that the client Javascript can access
(r"/websocket", PerspectiveTornadoHandler, {"manager": MANAGER, "check_origin": True})
])
], websocket_ping_interval=15)


if __name__ == "__main__":
Expand Down

0 comments on commit 746f57f

Please sign in to comment.