}
if (
this.shallUpdateTaskFunctionWorkerUsage(workerNodeKey) &&
+ message.taskPerformance?.name != null &&
this.workerNodes[workerNodeKey].getTaskFunctionWorkerUsage(
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
- message.taskPerformance!.name
+ message.taskPerformance.name
) != null
) {
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const taskFunctionWorkerUsage = this.workerNodes[
workerNodeKey
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
- ].getTaskFunctionWorkerUsage(message.taskPerformance!.name)!
+ ].getTaskFunctionWorkerUsage(message.taskPerformance.name)!
updateTaskStatisticsWorkerUsage(taskFunctionWorkerUsage, message)
updateRunTimeWorkerUsage(
this.workerChoiceStrategiesContext,