mirror of
https://github.com/openharmony/startup_appspawn.git
synced 2026-08-25 14:29:39 -04:00
Signed-off-by: xuchenghua <xuchenghua09@huawei.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user