Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit ec40e09

Browse files
committed
Cut default backOff limit for parser in half
Issues with ParseJobs can rarely be fixed by retrying. No need to have then started up too often
1 parent 1010269 commit ec40e09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

operator/controllers/execution/scan_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ func (r *ScanReconciler) startParser(scan *executionv1.Scan) error {
323323
Labels: labels,
324324
},
325325
Spec: batch.JobSpec{
326+
BackoffLimit: 3,
326327
Template: corev1.PodTemplateSpec{
327328
Spec: corev1.PodSpec{
328329
RestartPolicy: corev1.RestartPolicyNever,

0 commit comments

Comments
 (0)