Skip to content

Commit cc405c3

Browse files
committed
more parallel IPNI tasks
1 parent 2829cf6 commit cc405c3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tasks/indexing/task_pdp_v0_ipni.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,10 +307,10 @@ func (P *PDPV0IPNITask) TypeDetails() harmonytask.TaskTypeDetails {
307307
Ram: 1 << 30,
308308
},
309309
MaxFailures: 3,
310-
IAmBored: passcall.Every(30*time.Second, func(taskFunc harmonytask.AddTaskFunc) error {
310+
IAmBored: passcall.Every(5*time.Second, func(taskFunc harmonytask.AddTaskFunc) error {
311311
return P.schedule(context.Background(), taskFunc)
312312
}),
313-
Max: P.max,
313+
Max: taskhelp.Max(50),
314314
}
315315
}
316316

0 commit comments

Comments
 (0)