Skip to content

Commit 70af167

Browse files
committed
DPL: set data processing and exit transition timeouts by default to enable new EoS
1 parent 79f1117 commit 70af167

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Framework/Core/src/O2ControlHelpers.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,8 @@ 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 = "15"; // Allow 15 seconds to finish processing and calibrations
373-
std::string dataProcessingTimeout = "10"; // Allow only ten seconds to finish processing
372+
std::string exitTransitionTimeout = "25"; // Allow 25 seconds to finish processing and calibrations
373+
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) {
376376
if (strcmp(execution.args[i], "--exit-transition-timeout") == 0) {

Framework/Core/src/runDataProcessing.cxx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,10 +1033,12 @@ int doChild(int argc, char** argv, ServiceRegistry& serviceRegistry,
10331033
std::string defaultInfologgerMode = "";
10341034
o2::framework::DeploymentMode deploymentMode = o2::framework::DefaultsHelpers::deploymentMode();
10351035
if (deploymentMode == o2::framework::DeploymentMode::OnlineDDS) {
1036-
defaultExitTransitionTimeout = "20";
1036+
defaultExitTransitionTimeout = "40";
1037+
defaultDataProcessingTimeout = "20";
10371038
defaultInfologgerMode = "infoLoggerD";
10381039
} else if (deploymentMode == o2::framework::DeploymentMode::OnlineECS) {
1039-
defaultExitTransitionTimeout = "20";
1040+
defaultExitTransitionTimeout = "25";
1041+
defaultDataProcessingTimeout = "20";
10401042
}
10411043
boost::program_options::options_description optsDesc;
10421044
ConfigParamsHelper::populateBoostProgramOptions(optsDesc, spec.options, gHiddenDeviceOptions);

0 commit comments

Comments
 (0)