Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy-j committed Jan 21, 2019
1 parent 59a92b7 commit 2c921b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion broker/sqs/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,12 @@ func (q *queue) serve(s *sqs.SQS, tout time.Duration) {
if errored {
// reoccurring error
time.Sleep(tout)
continue
} else {
errored = true
q.report(err)
}

continue
}
errored = false

Expand Down

0 comments on commit 2c921b5

Please sign in to comment.