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

[Enhancement] Optionally Disable Wait Timeout in ECS Config #4970

Merged
merged 3 commits into from
Apr 22, 2024

Conversation

moseswynn
Copy link
Contributor

Description

ECS executor configs have a setting wait_timeout that tells the executor how long to wait for the task to complete before retrying. The mage_ai.services.aws.ecs.run_task function has been updated to check if this value is set to -1. If so, it will skip waiting for the task to complete.

How Has This Been Tested?

There was no test coverage for wait functionality to update for this change. Existing tests for ECS config remain unaffected.

Checklist

  • The PR is tagged with proper labels (bug, enhancement, feature, documentation)
  • I have performed a self-review of my own code
  • I have added unit tests that prove my fix is effective or that my feature works
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

cc:

@tommydangerous tommydangerous merged commit 02833b5 into mage-ai:master Apr 22, 2024
5 checks passed
oonyoontong pushed a commit to bunker-tech/mage-ai that referenced this pull request May 2, 2024
…4970)

* add disable wait timeout check

* update documentation

* formatting

---------

Co-authored-by: Moses <mail@moseswynn.com>
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