Merge pull request #11738 from bitsf/retention_not_retry

fix(retention) not retry retention job
This commit is contained in:
Daniel Jiang 2020-04-26 15:34:34 +08:00 committed by GitHub
commit c28f6bd6ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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