grpc_stream-medium
grpc_stream-medium copied to clipboard
Handle connection errors
js-client: reconnect on error
This changes makes the client automatically reconnect when a error occurs.
server: gracefully stop client handler on error
This change improves the server by stopping the client handler on error, instead of printing error continously.
This change also moves the delay after sending the response so that it is snappier.