Modify socket receive timeout to 5.5 seconds 58/317358/1
authorChanggyu Choi <changyu.choi@samsung.com>
Tue, 31 Dec 2024 06:23:50 +0000 (15:23 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Tue, 31 Dec 2024 06:28:17 +0000 (15:28 +0900)
If the system is slow, sometimes amd sends timeout results late.
In this case, there is a problem that the result(pid) for the first launch request is not delivered.
To resolve this, the socket receiving timeout is slightly increased.

Change-Id: I5e741aad939beb8a90904683a9d32e7b1fbd79fa
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
src/aul/aul_sock.cc

index 977b21ddc790e1013bcae57e15b52273119b0d29..fc25c8ad7437e3f3122ead09b78fc3cbb9f986e9 100644 (file)
@@ -69,7 +69,7 @@ class SocketTimeout {
   }
 
  private:
-  timeval time_val_ = { 5, 200 * 1000 };
+  timeval time_val_ = { 5, 500 * 1000 };
 };
 
 std::string GetSocketPath(pid_t pid, uid_t uid) {