summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2023-10-25 16:22:19 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-11-03 17:46:31 +0000
commitbe197db866b8da802dceb55b460055edc16fcc86 (patch)
tree7acf53e2516c71d7079382f7c8ac593f411e8a82
parent73e82a6f346d2835f6d6b0752629b2d2446e871d (diff)
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 <marius.vlad@collabora.com> Change-Id: I8751c1d69898a82a415ba9b756bdfe9657ef0546
-rw-r--r--grpc-proxy/main-grpc.cpp2
1 files changed, 1 insertions, 1 deletions
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) {