From: Marius Vlad Date: Wed, 25 Oct 2023 13:22:19 +0000 (+0300) Subject: grpc-proxy: Use smaller waiting time X-Git-Tag: 17.90.0~7 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;ds=sidebyside;h=be197db866b8da802dceb55b460055edc16fcc86;p=src%2Fagl-compositor.git grpc-proxy: Use smaller waiting time This would speed the time checking if agl-shell was bounded or not. Shouldn't make that much of a difference but we do not need to wait 250 ms just for testing that. Bug-AGL: SPEC-4912 Signed-off-by: Marius Vlad Change-Id: I8751c1d69898a82a415ba9b756bdfe9657ef0546 --- diff --git a/grpc-proxy/main-grpc.cpp b/grpc-proxy/main-grpc.cpp index 2f9350a..545b40f 100644 --- a/grpc-proxy/main-grpc.cpp +++ b/grpc-proxy/main-grpc.cpp @@ -437,7 +437,7 @@ register_shell_init(void) clock_gettime(CLOCK_MONOTONIC, &ts); ts.tv_sec = 0; - ts.tv_nsec = 250 * 1000 * 1000; // 250 ms + ts.tv_nsec = 50 * 1000 * 1000; // 50 ms // verify if 'bound_fail' was received while (true) {