Skip to content

Commit 1af9181

Browse files
author
Hendrik Muhs
authored
do not return after warning about failed cleanup (#352)
fix a race condition if a forecast job requires overflowing to disk but cleanup of temporary storage fails. This can cause the autodetect process to hang on exit, if more forecast requests are in the queue relates to #350
1 parent d4e74a1 commit 1af9181

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/api/CForecastRunner.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ void CForecastRunner::forecastWorker() {
225225
LOG_WARN(<< "Failed to cleanup temporary data from: "
226226
<< forecastJob.s_TemporaryFolder << " error "
227227
<< errorCode.message());
228-
return;
229228
}
230229
}
231230
}

0 commit comments

Comments
 (0)