Skip to content

Commit 19452bc

Browse files
authored
Merge pull request #672 from huanghaoyuanhhy/fix-flush-ctx
client: use outside ctx
2 parents 31e8809 + 72b07da commit 19452bc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

core/client/grpc.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,8 +498,6 @@ func (g *GrpcClient) Flush(ctx context.Context, db, collName string) (*milvuspb.
498498
}
499499

500500
func (g *GrpcClient) checkFlush(ctx context.Context, segIDs []int64, flushTS uint64, ns namespace.NS) error {
501-
ctx = g.newCtxWithDB(ctx, ns.DBName())
502-
503501
start := time.Now()
504502
ticker := time.NewTicker(time.Second)
505503
defer ticker.Stop()

0 commit comments

Comments
 (0)