Skip to content

Commit

Permalink
examples: update nopper
Browse files Browse the repository at this point in the history
  • Loading branch information
WangYihang committed Jul 2, 2024
1 parent adac3fb commit b2b4ff8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/nopper/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ func main() {
gojob.WithMaxRuntimePerTaskSeconds(16),
gojob.WithNumShards(4),
gojob.WithShard(0),
gojob.WithResultFilePath("data/output.txt"),
gojob.WithStatusFilePath("data/output.status"),
gojob.WithResultFilePath("data/output.json"),
gojob.WithStatusFilePath("data/status.json"),
gojob.WithMetadataFilePath("data/metadata.json"),
gojob.WithTotalTasks(total),
).
Start()
Expand Down

0 comments on commit b2b4ff8

Please sign in to comment.