From 601ce086608e59559285a16094788a8b00261ec2 Mon Sep 17 00:00:00 2001 From: Ziming Zhang Date: Sun, 26 Apr 2020 14:33:21 +0800 Subject: [PATCH] fix(retention) not retry retention job Signed-off-by: Ziming Zhang --- src/pkg/retention/job.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/retention/job.go b/src/pkg/retention/job.go index ce85fc80a..8a85a732a 100644 --- a/src/pkg/retention/job.go +++ b/src/pkg/retention/job.go @@ -54,7 +54,7 @@ func (pj *Job) MaxCurrency() uint { // ShouldRetry indicates job can be retried if failed func (pj *Job) ShouldRetry() bool { - return true + return false } // Validate the parameters