Skip to content

Commit

Permalink
bump zoekt to version in #642
Browse files Browse the repository at this point in the history
this will be changed to point to zoekt@main once #642 is merged.
  • Loading branch information
ggilmore committed Sep 6, 2023
1 parent de3f7cb commit a74bcd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/zoekt-webserver/grpc/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (s *Server) List(ctx context.Context, req *proto.ListRequest) (*proto.ListR
// gRPCChunkSender is a zoekt.Sender that sends small chunks of FileMatches to the provided gRPC stream.
func gRPCChunkSender(ss proto.WebserverService_StreamSearchServer) zoekt.Sender {
f := func(r *zoekt.SearchResult) {
result := r.ToProto()
result := r.ToStreamProto().GetResponseChunk()

if len(result.GetFiles()) == 0 { // stats-only result, send it immediately
_ = ss.Send(&proto.StreamSearchResponse{
Expand Down

0 comments on commit a74bcd9

Please sign in to comment.