Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Hybrid Container Healthcheck Throttling (aws#136)
*Issue #, if available:* N/A *Description of changes:* Discovered an issue where the worker healthchecks were not being performed in the hybrid container when the worker subprocess was run after the scheduler subprocess. Upon further investigation the root cause was determined to be the throttling conditions for the method `_check_process_conditions` which restricted the container to one call of the function per 60 seconds. This PR removes calls to `_check_process_conditions` in the subprocess `execution_loop_iter` loop if the subprocess does not have conditions. Also changes the throttle settings of `_check_process_conditions` to be instance level rather than global so that it is throttled per subprocess. --- By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
- Loading branch information