Skip to content

Commit e4c20ba

Browse files
committed
more parallel IPNI tasks
1 parent 0003c53 commit e4c20ba

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
@@ -317,10 +317,10 @@ func (P *PDPV0IPNITask) TypeDetails() harmonytask.TaskTypeDetails {
317317
Ram: 1 << 30,
318318
},
319319
MaxFailures: 3,
320-
IAmBored: passcall.Every(30*time.Second, func(taskFunc harmonytask.AddTaskFunc) error {
320+
IAmBored: passcall.Every(5*time.Second, func(taskFunc harmonytask.AddTaskFunc) error {
321321
return P.schedule(context.Background(), taskFunc)
322322
}),
323-
Max: P.max,
323+
Max: taskhelp.Max(50),
324324
}
325325
}
326326

0 commit comments

Comments
 (0)