logging placeholder
This commit is contained in:
Родитель
36d4dc1866
Коммит
d504ecf968
|
@ -61,6 +61,12 @@ namespace FunctionsNetHost.Grpc
|
|||
{
|
||||
await foreach (var rpcWriteMsg in _outgoingMessageChannel.Reader.ReadAllAsync())
|
||||
{
|
||||
if (rpcWriteMsg.ContentCase == StreamingMessage.ContentOneofCase.InvocationResponse)
|
||||
{
|
||||
// Assuming we send only one http request(function invocation) during our testing/data collection
|
||||
// to do: Log end of cold start.
|
||||
}
|
||||
|
||||
await requestStream.WriteAsync(rpcWriteMsg);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -48,6 +48,8 @@ namespace FunctionsNetHost.Grpc
|
|||
}
|
||||
case StreamingMessage.ContentOneofCase.FunctionEnvironmentReloadRequest:
|
||||
|
||||
// to do: Start log
|
||||
|
||||
Logger.LogTrace("Specialization request received.");
|
||||
|
||||
var envReloadRequest = msg.FunctionEnvironmentReloadRequest;
|
||||
|
|
Загрузка…
Ссылка в новой задаче