From ec00e1eb03fa2e13037ea3d8e5c7b4ef6ba4e13d Mon Sep 17 00:00:00 2001 From: xuchenghua Date: Wed, 23 Mar 2022 15:55:46 +0800 Subject: [PATCH] fixed f27e0a5 from https://gitee.com/uniquexch/startup_appspawn/pulls/150 xuchenghua09@huawei.com Signed-off-by: xuchenghua --- interfaces/innerkits/include/appspawn_socket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/innerkits/include/appspawn_socket.h b/interfaces/innerkits/include/appspawn_socket.h index 6edf8b72..ceb1800a 100644 --- a/interfaces/innerkits/include/appspawn_socket.h +++ b/interfaces/innerkits/include/appspawn_socket.h @@ -108,7 +108,7 @@ protected: const std::string socketDir_ = "/dev/socket/"; #endif const unsigned int listenBacklog_ = 50; // 50: max num of clients - static constexpr struct timeval SOCKET_TIMEOUT = {5, 0}; // 5, 0: { 5 sec, 0 msec } for timeout + static constexpr struct timeval SOCKET_TIMEOUT = {2, 0}; // 2, 0: { 2 sec, 0 msec } for timeout }; } // namespace AppSpawn } // namespace OHOS -- Gitee