Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
89412: gceworker: change cron job to ignore /.active after 2 days r=ajwerner a=ajwerner It's easy to forget that you've left your gceworker running when you touch /.active. This leads to lots of wasted resources. Here we change the definition of /.active to only count it if the mod time is less than two days ago. This may prove to be frustrating for some folks, but those folks can set the mod time to something in the future or set something else in their enviroment to regularly touch the file. Also, it's easy enough for anybody who is so inclined to change the script to meet their needs on their own gceworker. This should be a more sane default. Release note: None Co-authored-by: Andrew Werner <awerner32@gmail.com>
- Loading branch information