Skip to content

Commit

Permalink
Fix tracing configuration for tasks
Browse files Browse the repository at this point in the history
This is an adaptation for property->container transition
of ProcessTracingConfigurationType.
  • Loading branch information
mederly committed Apr 3, 2020
1 parent 8162efd commit 6da94cd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -353,7 +353,7 @@ public void stopDynamicProfiling() {

@Override
public boolean requestTracingIfNeeded(RunningTask coordinatorTask, int objectsSeen, TracingRootType defaultTracingRoot) {
ProcessTracingConfigurationType config = coordinatorTask.getExtensionPropertyRealValue(SchemaConstants.MODEL_EXTENSION_TRACING);
ProcessTracingConfigurationType config = coordinatorTask.getExtensionContainerRealValueOrClone(SchemaConstants.MODEL_EXTENSION_TRACING);
int interval;
if (config != null) {
interval = defaultIfNull(config.getInterval(), 1);
Expand Down

0 comments on commit 6da94cd

Please sign in to comment.