This commit is contained in:
Sebastian Burckhardt 2021-03-31 07:30:13 -07:00
Родитель 1811dd0bc8
Коммит 349d644eb8
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -23,7 +23,7 @@ namespace PerformanceTests.ProducerConsumer
}
[FunctionName(nameof(Consumer))]
public static async Task HandleOperation(
public static Task HandleOperation(
[EntityTrigger] IDurableEntityContext context, ILogger log)
{
var stopwatch = new Stopwatch();
@ -71,6 +71,8 @@ namespace PerformanceTests.ProducerConsumer
}
log.LogInformation("{Entity} performed {Operation} in {Latency:F3}ms", context.EntityId, context.OperationName, stopwatch.Elapsed.TotalMilliseconds);
return Task.CompletedTask;
}
}
}