mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-08 05:52:55 +00:00
- avoid panic by checking for Ok(None) response from tonic::Streaming::message() instead of just using unwrap() - There was a race condition, if the caller sent the message, but the receiver task concurrently received Ok(None) indicating the stream was closed. (I didn't see that in action, but I think it could happen by reading the code)