nativelink
nativelink copied to clipboard
Kill worker after action execution limit is reached
trafficstars
Description
Allows users to set the maximum number of action executions a worker is allowed to complete. Upon reaching this limit, the worker will no longer accept new jobs, and will exit upon completing all assigned ones.
Fixes #815
Type of change
- [x] New feature (non-breaking change which adds functionality)
How Has This Been Tested?
A test has been added to ensure the going_away signal is properly sent and received
Checklist
- [x] Updated documentation if needed
- [x] Tests added/amended
- [x]
bazel test //...passes locally - [x] PR is contained in a single commit, using
git amendsee some docs
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
Zach Birenbaum seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.