Skip to content

Commit 04b2596

Browse files
authored
DPL: do not compute GUI metrics if we are in online mode (#14163)
1 parent fcdf98d commit 04b2596

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Framework/Core/src/CommonServices.cxx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,9 @@ auto flushMetrics(ServiceRegistryRef registry, DataProcessingStats& stats) -> vo
848848
}
849849
monitoring.send(std::move(metric));
850850
});
851-
relayer.sendContextState();
851+
if (DefaultsHelpers::onlineDeploymentMode() == false) {
852+
relayer.sendContextState();
853+
}
852854
monitoring.flushBuffer();
853855
O2_SIGNPOST_END(monitoring_service, sid, "flush", "done flushing metrics");
854856
};

0 commit comments

Comments
 (0)