Skip to content

Commit

Permalink
improve gRPCChunkSender comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ggilmore committed Aug 14, 2023
1 parent 186a89b commit a4445ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grpc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func (s *Server) List(ctx context.Context, req *v1.ListRequest) (*v1.ListRespons
return repoList.ToProto(), nil
}

// gRPCChunkSender is a zoekt.Sender that sends chunks of FileMatches
// gRPCChunkSender is a zoekt.Sender that sends small chunks of FileMatches to the provided gRPC stream.
func gRPCChunkSender(ss v1.WebserverService_StreamSearchServer) zoekt.Sender {
f := func(r *zoekt.SearchResult) {
result := r.ToProto()
Expand Down

0 comments on commit a4445ac

Please sign in to comment.