Skip to content

Commit 9d67cab

Browse files
committed
Fix collectResultLoop hang after search timeout
Signed-off-by: xige-16 <[email protected]>
1 parent 871e093 commit 9d67cab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/proxy/impl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2136,7 +2136,7 @@ func (node *Proxy) Search(ctx context.Context, request *milvuspb.SearchRequest)
21362136
},
21372137
ResultChannelID: strconv.FormatInt(Params.ProxyCfg.ProxyID, 10),
21382138
},
2139-
resultBuf: make(chan []*internalpb.SearchResults),
2139+
resultBuf: make(chan []*internalpb.SearchResults, 1),
21402140
query: request,
21412141
chMgr: node.chMgr,
21422142
qc: node.queryCoord,

0 commit comments

Comments
 (0)