[*] Updated Aurora Runtime

This commit is contained in:
Reece Wilson 2022-12-28 12:09:07 +00:00
parent c8316caae4
commit a3c6b5b4ba
2 changed files with 5 additions and 9 deletions

View File

@ -62,7 +62,3 @@ void Run()
gRpcClientChannel->SetCallbacks(callback);
}
```
__Linux IO is lagging behind__

View File

@ -197,11 +197,11 @@ void AuRPCPipe::OnConnect()
RpcLogDebug("RPC Pipe connection initiated. Beginning read...");
AuIO::IOPipeRequestAIO req;
req.asyncTransaction = this->pipe->NewAsyncTransaction();
req.isStream = true;
req.pAsyncTransaction = this->pipe->NewAsyncTransaction();
req.bIsStream = true;
req.output.type = AuIO::EPipeCallbackType::eTryHandleBufferedPart;
req.output.handleBufferedStream.onData = AuSPtr<AuIO::IIOBufferedStreamAvailable>(this->channel->ToContext(), this);
req.listener = AuSPtr<AuIO::IIOPipeEventListener>(this->channel->ToContext(), this);
req.output.handleBufferedStream.pOnData = AuSPtr<AuIO::IIOBufferedStreamAvailable>(this->channel->ToContext(), this);
req.pListener = AuSPtr<AuIO::IIOPipeEventListener>(this->channel->ToContext(), this);
// Create a pipe to process an asynchronous repeating stream read transaction of no particular read/EoS limit
this->work = GetRPCProcessor()->ToPipeProcessor()->NewAIOPipe(req);