aboutsummaryrefslogtreecommitdiffstats
path: root/app/AglShellGrpcClient.cpp
AgeCommit message (Collapse)AuthorFilesLines
2024-12-12AglShellGrpcClient: Add wait_for_ready + deadline for grpc::ContextHEADmasterMarius Vlad1-1/+44
It seems that gRPC channel might not be ready when issueing floating request so add a wait_for_ready + deadline to make sure we don't send the request until the channel is available. Initial testing (though we might need more) shows that this fixes the issue. The way this works is that the client (if started with wait_for_ready set to true, passed in the AglShellGrpcClient constructor) will wait for the channel to be ready and then issue a floating request. There's a hidden deadline of 2 seconds in case that doesn't happen. Bug-AGL: SPEC-5235 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I40a5ad0dd760dc4559839ae7c302c1d6bc1ff973
2024-11-26app: Move build to meson and replace agl-shell-desktopMarius Vlad1-0/+225
This is a bigger change to move the from Cmake to meson and use gPRC instead of agl-shell-desktop protocol. Bug-AGL: SPEC-5300, SPEC-5301 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ib649b7fd38eef5653bc401a8eb159882a2f41e6b