diff options
author | 2025-01-10 13:06:32 +0200 | |
---|---|---|
committer | 2025-02-11 18:43:05 +0000 | |
commit | dd119651bbf912b13068c62c7b31c7371f6e4253 (patch) | |
tree | 00e135f9b506e0d69f02c07b8dbc4387cdcc5c74 /app/main.cpp | |
parent | 79826b1b65986ab3eabc4ed816dee4d68e10fbf1 (diff) |
main: Wait until the channel is readysalmon
With the rpi platform support for agl-kvm we seem to be hitting the same
issue as on the receiver side - due the gRPC channel not being in ready
state. We start at similar time as the gRPC proxy server/compositor.
Bug-AGL: SPEC-5305
Change-Id: I54a54a0b16ae9341e70b3f168eee49dbc9180259
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
(cherry picked from commit a89eac8f101fd6cd88b4a93dee02de03dab36c21)
Diffstat (limited to 'app/main.cpp')
-rw-r--r-- | app/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/main.cpp b/app/main.cpp index 71e2d13..d5f756a 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -48,6 +48,7 @@ int main(int argc, char *argv[]) std::string output = read_config_and_get_output(); GrpcClient *client = new GrpcClient(); + client->WaitForConnected(500, 10); if (!output.empty()) client->SetAppOnOutput(our_name, output); else |