grpc-proxy: Use smaller waiting time 06/29306/2
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 25 Oct 2023 13:22:19 +0000 (16:22 +0300)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 3 Nov 2023 17:46:31 +0000 (17:46 +0000)
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

grpc-proxy/main-grpc.cpp

index 2f9350a..545b40f 100644 (file)
@@ -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) {