Skip to content

Commit 4bcbf71

Browse files
committed
chore: Set dqlite and clickhouse data collection timeout to 10 minutes
1 parent 879c4ea commit 4bcbf71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/jobs/nim_job_list.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ func NIMJobList() []Job {
148148
},
149149
{
150150
Name: "exec-clickhouse-data",
151-
Timeout: time.Second * 100,
151+
Timeout: time.Second * 600,
152152
Execute: func(dc *data_collector.DataCollector, ctx context.Context, ch chan JobResult) {
153153
jobResult := JobResult{Files: make(map[string][]byte), Error: nil}
154154
// command := []string{"clickhouse-client", "--database", "nms", "-q", "SHOW CREATE TABLE nms.events"}
@@ -187,7 +187,7 @@ func NIMJobList() []Job {
187187
},
188188
{
189189
Name: "exec-dqlite-dump",
190-
Timeout: time.Second * 30,
190+
Timeout: time.Second * 600,
191191
Execute: func(dc *data_collector.DataCollector, ctx context.Context, ch chan JobResult) {
192192
jobResult := JobResult{Files: make(map[string][]byte), Error: nil}
193193

0 commit comments

Comments
 (0)