File tree 1 file changed +7
-1
lines changed
src/main/java/ecmwf/ecpds/master
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 73
73
import static ecmwf .common .ectrans .ECtransOptions .HOST_ACQUISITION_REQUEUEON ;
74
74
import static ecmwf .common .ectrans .ECtransOptions .HOST_ACQUISITION_REQUEUEONSAMESIZE ;
75
75
import static ecmwf .common .ectrans .ECtransOptions .HOST_ACQUISITION_REQUEUEONUPDATE ;
76
+ import static ecmwf .common .ectrans .ECtransOptions .HOST_ACQUISITION_REQUEUE_ON_FAILURE ;
76
77
import static ecmwf .common .ectrans .ECtransOptions .HOST_ACQUISITION_SERVER_LANGUAGE_CODE ;
77
78
import static ecmwf .common .ectrans .ECtransOptions .HOST_ACQUISITION_SERVER_TIME_ZONE_ID ;
78
79
import static ecmwf .common .ectrans .ECtransOptions .HOST_ACQUISITION_SHORT_MONTH_NAMES ;
@@ -10951,7 +10952,12 @@ public void configurableRun() {
10951
10952
// otherwise it would be retried (the FAIL
10952
10953
// status will be set in the Transfer
10953
10954
// Scheduler)!
10954
- currentStatus = StatusFactory .RETR ;
10955
+ if (HOST_ACQUISITION .getECtransSetup (_source .getData ())
10956
+ .getBoolean (HOST_ACQUISITION_REQUEUE_ON_FAILURE )) {
10957
+ currentStatus = StatusFactory .SCHE ;
10958
+ } else {
10959
+ currentStatus = StatusFactory .RETR ;
10960
+ }
10955
10961
} else if (Cnf .at ("Other" , "dontRetryDownloads" , false )) {
10956
10962
// We don't want to retry the download of the
10957
10963
// files which are not on the super computer any
You can’t perform that action at this time.
0 commit comments