fix: write error stack bug

This commit is contained in:
loveuer
2025-01-22 17:29:12 +08:00
parent b247b4fea8
commit b7b9c14e79
5 changed files with 45 additions and 16 deletions

View File

@ -32,7 +32,6 @@ func ReadData(ctx context.Context, client *elastic.Client, index string, size, m
defer func() {
close(dataCh)
close(errCh)
if scrollId != "" {
bs, _ := json.Marshal(map[string]string{