Closed ashishgo-aws closed 1 month ago
These changes also need to be ported to 2.10.1.
I believe I have covered these in https://github.com/aws/amazon-mwaa-docker-images/pull/151. Is there anything you saw that is missing in that PR?
These changes also need to be ported to 2.10.1.
I believe I have covered these in #151. Is there anything you saw that is missing in that PR?
I didn't check the other PRs to see if the changes were ported there. Nothing seems to be missing. LGTM.
Using throttling, each condition was being checked once per minute. But a condition may need to perform its check at a different pace like for example the TaskMonitor condition. This change applies throttling at individual condition instead of applying it generically at the subprocess level. The TaskMonitor condition will not be executed once per 10 seconds instead of one minute. This will allow for faster evaluation of worker idleness which would help in scaling down the worker fleet a lot more effectively.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.