Skip to content
This repository has been archived by the owner on Oct 24, 2020. It is now read-only.

bug: Ensure all containers drained before exiting #56

Merged
merged 1 commit into from
Apr 11, 2017
Merged

Conversation

jrconlin
Copy link
Contributor

closes #45

- UndrainedInstancesException
IntervalSeconds: 10
MaxAttempts: 10
BackoffRate: 1
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Honestly not sure if this needs a catch. It's the last step, so an error should fail out anyway.

Copy link
Member

Choose a reason for hiding this comment

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

It doesn't need a catch, but it does need the retry. I assume 100 seconds should be enough for it to complete.



def check_drain(event, context):
return AsynchronousPlanRunner(event, context).check_drained()
Copy link
Member

Choose a reason for hiding this comment

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

Needs a line-break at the end.

- UndrainedInstancesException
IntervalSeconds: 10
MaxAttempts: 10
BackoffRate: 1
Copy link
Member

Choose a reason for hiding this comment

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

It doesn't need a catch, but it does need the retry. I assume 100 seconds should be enough for it to complete.

@jrconlin jrconlin merged commit 067bedc into master Apr 11, 2017
@bbangert bbangert deleted the bug/45 branch April 11, 2017 23:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't indicate clean-up is done till it is
3 participants