Skip to content

Commit 0574264

Browse files
authored
DPL: change exit transition timeout default on FLPs to 40 s (#14638)
1 parent 6fd377b commit 0574264

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Framework/Core/src/O2ControlHelpers.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ void dumpTask(std::ostream& dumpOut, const DeviceSpec& spec, const DeviceExecuti
369369
dumpOut << indLevel << "defaults:\n";
370370
dumpOut << indLevel << indScheme << "log_task_stdout: none\n";
371371
dumpOut << indLevel << indScheme << "log_task_stderr: none\n";
372-
std::string exitTransitionTimeout = "25"; // Allow 25 seconds to finish processing and calibrations
372+
std::string exitTransitionTimeout = "40"; // Allow 40 seconds to finish processing and calibrations
373373
std::string dataProcessingTimeout = "20"; // Allow only 20 seconds to finish processing
374374
if (execution.args.size() > 2) {
375375
for (size_t i = 0; i < execution.args.size() - 1; ++i) {

Framework/Core/src/runDataProcessing.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,7 @@ int doChild(int argc, char** argv, ServiceRegistry& serviceRegistry,
10381038
defaultDataProcessingTimeout = "20";
10391039
defaultInfologgerMode = "infoLoggerD";
10401040
} else if (deploymentMode == o2::framework::DeploymentMode::OnlineECS) {
1041-
defaultExitTransitionTimeout = "25";
1041+
defaultExitTransitionTimeout = "40";
10421042
defaultDataProcessingTimeout = "20";
10431043
}
10441044
boost::program_options::options_description optsDesc;

Framework/Core/test/test_FrameworkDataFlowToO2Control.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ const std::vector expectedTasks{
138138
defaults:
139139
log_task_stdout: none
140140
log_task_stderr: none
141-
exit_transition_timeout: 25
141+
exit_transition_timeout: 40
142142
data_processing_timeout: 20
143143
_module_cmdline: >-
144144
source /etc/profile.d/modules.sh && MODULEPATH={{ modulepath }} module load O2 QualityControl Control-OCCPlugin &&
@@ -236,7 +236,7 @@ const std::vector expectedTasks{
236236
defaults:
237237
log_task_stdout: none
238238
log_task_stderr: none
239-
exit_transition_timeout: 25
239+
exit_transition_timeout: 40
240240
data_processing_timeout: 20
241241
_module_cmdline: >-
242242
source /etc/profile.d/modules.sh && MODULEPATH={{ modulepath }} module load O2 QualityControl Control-OCCPlugin &&
@@ -336,7 +336,7 @@ const std::vector expectedTasks{
336336
defaults:
337337
log_task_stdout: none
338338
log_task_stderr: none
339-
exit_transition_timeout: 25
339+
exit_transition_timeout: 40
340340
data_processing_timeout: 20
341341
_module_cmdline: >-
342342
source /etc/profile.d/modules.sh && MODULEPATH={{ modulepath }} module load O2 QualityControl Control-OCCPlugin &&
@@ -436,7 +436,7 @@ const std::vector expectedTasks{
436436
defaults:
437437
log_task_stdout: none
438438
log_task_stderr: none
439-
exit_transition_timeout: 25
439+
exit_transition_timeout: 40
440440
data_processing_timeout: 20
441441
_module_cmdline: >-
442442
source /etc/profile.d/modules.sh && MODULEPATH={{ modulepath }} module load O2 QualityControl Control-OCCPlugin &&

0 commit comments

Comments
 (0)