aws / amazon-mwaa-docker-images

Apache License 2.0
24 stars 11 forks source link

Support process timeout and use it for reqs install #61

Closed rafidka closed 4 months ago

rafidka commented 4 months ago

Issue #, if available: N/A

Description of changes:

We need to cap the time it takes to install requirements, just like we do internally currently. To enable this, I changed the Subprocess class such that it accepts a timeout now, and sends a SIGTERM/SIGKILL to the process if it takes more than this.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.