Skip to content

Commit 40e945f

Browse files
committed
DPL: do not compute GUI metrics if we are in online mode
1 parent 2640284 commit 40e945f

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)