Skip to content

Commit

Permalink
pdp: better praams
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Oct 13, 2024
1 parent 8adf1d6 commit 54af620
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/pdp/prove_task.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func (p *ProveTask) Do(taskID harmonytask.TaskID, stillOwned func() bool) (done
}

// Number of challenges to generate
numChallenges := 5 // Application / pdp will specify this later
numChallenges := 20 // Application / pdp will specify this later

proofs, err := p.GenerateProofs(ctx, pdpService, proofSetID, challengeEpoch, numChallenges)
if err != nil {
Expand Down Expand Up @@ -636,9 +636,9 @@ func (p *ProveTask) TypeDetails() harmonytask.TaskTypeDetails {
Cost: resources.Resources{
Cpu: 1,
Gpu: 0,
Ram: 128 << 20, // 128 MB
Ram: 256 << 20, // 128 MB
},
MaxFailures: 500,
MaxFailures: 5,
}
}

Expand Down

0 comments on commit 54af620

Please sign in to comment.