Skip to content

Commit e7429f8

Browse files
authored
Change import task timeout value (milvus-io#20716)
Signed-off-by: yhmo <[email protected]> Signed-off-by: yhmo <[email protected]>
1 parent b494b56 commit e7429f8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

internal/datanode/data_node.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ const (
8080
// ConnectEtcdMaxRetryTime is used to limit the max retry time for connection etcd
8181
ConnectEtcdMaxRetryTime = 100
8282

83-
// ImportCallTimeout is the timeout used in Import() method calls.
84-
ImportCallTimeout = 30 * time.Second
83+
// ImportCallTimeout is the timeout used in Import() method calls
84+
// This value is equal to RootCoord's task expire time
85+
ImportCallTimeout = 15 * 60 * time.Second
8586
)
8687

8788
var getFlowGraphServiceAttempts = uint(50)

0 commit comments

Comments
 (0)