anycable / anycable-go

AnyCable real-time server
https://anycable.io
MIT License
364 stars 65 forks source link

Hide `Disconnect error: grpc connection is not ready` message #170

Closed SebastianSzturo closed 1 year ago

SebastianSzturo commented 1 year ago

Is it possible to hide the Disconnect error: grpc connection is not ready error when using anycable-go without an grpc client (e.g. for Hotwire only).

palkan commented 1 year ago

Yes, you need to disable disconnector via --disable_disconnect or ANYCABLE_DISABLE_DISCONNECT=1 (see docs)