Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mute ThrottleException for AWS Logs API for AWS Batch #193

Merged
merged 2 commits into from
Apr 28, 2020
Merged

Conversation

savingoyal
Copy link
Collaborator

Currently, the flow logs are polluted with occasional ThrottleExceptions.
They don't result in flow failures since we retry log fetching till the tasks
are alive and do a best-effort pull after the tasks have finished. This patch
swallows the ThrottleExceptions so that the end-user isn't thrown off track.

resolves #184

Currently, the flow logs are polluted with  occasional `ThrottleExceptions`.
They don't result in flow failures since we retry log fetching till the tasks
are alive and do a best-effort pull after the tasks have finished. This patch
swallows the `ThrottleExceptions` so that the end-user isn't thrown off track.
Copy link
Contributor

@romain-intel romain-intel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. In the future, if this happens a lot, maybe we want to back off on the logs too (not sure if useful but definitely not needed in this diff).

@savingoyal savingoyal merged commit aaef3d6 into master Apr 28, 2020
@savingoyal savingoyal deleted the logs branch April 28, 2020 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mask ThrottleException for GetLogEvents in @batch
3 participants