Skip to content

Commit

Permalink
torch: only attempt computations once by default
Browse files Browse the repository at this point in the history
  • Loading branch information
256dpi committed Nov 27, 2023
1 parent 656c055 commit c2acb75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch/reactor.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func (r *Reactor) ScanTask() *axe.Task {
func (r *Reactor) ProcessTask() *axe.Task {
return &axe.Task{
Job: &ProcessJob{},
MaxAttempts: 3,
MaxAttempts: 1,
Lifetime: time.Minute,
Timeout: 2 * time.Minute,
Handler: func(ctx *axe.Context) error {
Expand Down

0 comments on commit c2acb75

Please # to comment.