plus3it / cfn-jenkins

Deploy Jenkins master and agents onto STIG-hardened EL7 Amazon instances
Apache License 2.0
2 stars 7 forks source link

Force timeout of auto-recovery enablign cron-jobs #20

Open ferricoxide opened 6 years ago

ferricoxide commented 6 years ago

Problem Description:

When the S3 service experiences service-issues, it can cause the auto-recovery enabling cron jobs to go out to lunch and pile up. Need to ensure that said cron-jobs don't run past their run widow (constrain to < 20 minutes or whatever RPO - 2m works out to).

Fix recommendation:

Encapsulate auto-recovery enabling cron-job in a timeout() block