fix: Implement Enhanced File Descriptor Limit Handling in Shell Script (#1160)

Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong
2023-10-08 10:59:15 +08:00
committed by GitHub
parent daf58715ed
commit 8dd6a05d38
3 changed files with 36 additions and 4 deletions
+2 -2
View File
@@ -18,11 +18,11 @@ set -o errexit
set +o nounset
set -o pipefail
ulimit -n 200000
OPENIM_ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")"/../.. && pwd -P)
[[ -z ${COMMON_SOURCED} ]] && source "${OPENIM_ROOT}"/scripts/install/common.sh
openim::util::set_max_fd 200000
SERVER_NAME="openim-msgtransfer"
function openim::msgtransfer::start()