Signed-off-by: xuchenghua <xuchenghua09@huawei.com>
This commit is contained in:
xuchenghua
2022-03-23 15:55:46 +08:00
parent 6ae68a7cc2
commit a043ea4a74
@@ -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