Mercurial > gemma
changeset 2801:054f5d61452d
Import queue: Cleanup up debris after an import in all cases if we are not going to retry it.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 25 Mar 2019 18:17:18 +0100 |
parents | db1052bc162a |
children | 9adbe0633bf9 46a9a7c1281f |
files | pkg/imports/queue.go |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pkg/imports/queue.go Mon Mar 25 17:31:56 2019 +0100 +++ b/pkg/imports/queue.go Mon Mar 25 18:17:18 2019 +0100 @@ -619,7 +619,7 @@ } var errCleanup error - if retry { // cleanup debris + if !retry { // cleanup debris if errCleanup = survive(job.CleanUp)(); errCleanup != nil { feedback.Error("error cleanup: %v", errCleanup) }