Skip to content

Commit

Permalink
Update DurableTaskScaleMonitor.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
nytian authored Dec 5, 2024
1 parent d579178 commit 1946eda
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public DurableTaskScaleMonitor(
#else
// We need this because the new ScaleMonitorDescriptor constructor is not compatible with the WebJobs version of Functions V1 and V2.
// Technically, it is also not available in Functions V3, but we don't have a TFM allowing us to differentiate between Functions V3 and V4.
this.scaleMonitorDescriptor = new ScaleMonitorDescriptor(id);
this.scaleMonitorDescriptor = new ScaleMonitorDescriptor(id: id, functionId: id);
#endif
}

Expand Down Expand Up @@ -146,4 +146,4 @@ private ScaleStatus GetScaleStatusCore(int workerCount, DurableTaskTriggerMetric
}
}
}
#endif
#endif

0 comments on commit 1946eda

Please sign in to comment.