diff --git a/interfaces/innerkits/include/appspawn_socket.h b/interfaces/innerkits/include/appspawn_socket.h index 6edf8b7280850698d2e187ab2d8fee549b70e15a..ceb1800aeae87efbb30209d4143a8a2ec7d16b63 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