-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
task/runner: Several reliability improvements (#95)
* go.mod: Update go-api-client for all retries * runner: Handle rate limit errors from API and delay task * runner: Hide catalyst task lost error as well * runner: Fix log * go.mod: Update livepeer-data for amqp reliability * task: Handle panics more gracefully Move it to the outer function in runner so we catch errors in the runner code as well * task: Make sure we publish all events with a separate timeout we dont want to not sent the publish result because we already expired the task contexst or something. * task: Setup dead-lettering for main tasks queue * go.mod: Update to merged livepeer-data * Fix test * OMG add some spacing man * Stop double wrapping an error * task: Add migration logic to new queue * cmd: Make the default value of dead letter empty Just so the deploys can be safe * runner: Move cleanup logic to it's own function * task: Make all AMQP publishes mandatory * task: Add TODO about handling AMQP returns * task: Handle some mediaconvert errors * task: Disable mandatory message if we don't handle them * runner: Remove some forgotten unused args
- Loading branch information
Showing
7 changed files
with
227 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.