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

Reduce number of DescribeTaskDefinition calls. #781

Merged
merged 2 commits into from
Apr 12, 2016
Merged

Conversation

ejholmes
Copy link
Contributor

Related to #751.

Previously we naively described the task definition for each ECS task when running emp ps. In reality, most tasks will share the same task definition, so this means we make a lot of duplicate and unnecessary DescribeTaskDefinition api calls.

This will describe each unique task definition in the list of tasks, then store it in a map. The calls to DescribeTaskDefinition could also be parallelized, but I'll save that for a different PR.

@phobologic
Copy link
Contributor

Awesome 👍

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.

None yet

2 participants