summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'app/main.cpp')
-rw-r--r--app/main.cpp1
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