mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 18:51:59 +00:00
The first attempt didn't work as there are other exit conditions for the stream version than just calling RecvMsg until io.EOF. I found that gRPC has a callback for onFinish, and this seems to work properly locally. See commit number 2 for the diff over the initial implementation. ## Test plan Verified locally that all connection counts drop to zero eventually. |
||
|---|---|---|
| .. | ||
| config | ||
| external_service | ||
| observability | ||