From bd5e06314023b0677cfbdd43cad6da175f028657 Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong (cubxxw)" <3293172751nss@gmail.com> Date: Tue, 23 Jan 2024 16:07:59 +0800 Subject: [PATCH] feat: complete openim source deployment rpc start timeout --- .github/workflows/help-comment-issue.yml | 1 + docs/contrib/mac-developer-deployment-guide.md | 5 +---- scripts/install/openim-rpc.sh | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/help-comment-issue.yml b/.github/workflows/help-comment-issue.yml index 73cf105a8..dce858197 100644 --- a/.github/workflows/help-comment-issue.yml +++ b/.github/workflows/help-comment-issue.yml @@ -17,6 +17,7 @@ on: issues: types: - labeled + jobs: add-comment: if: github.event.label.name == 'help wanted' || github.event.label.name == 'good first issue' diff --git a/docs/contrib/mac-developer-deployment-guide.md b/docs/contrib/mac-developer-deployment-guide.md index db67d7722..af8d0b768 100644 --- a/docs/contrib/mac-developer-deployment-guide.md +++ b/docs/contrib/mac-developer-deployment-guide.md @@ -185,12 +185,9 @@ make start To check, ensure the following four processes start successfully: ```bash -➜ chat git:(main) ✗ ps -ef | grep chat -# [Output showing four running chat processes] +make check ``` -Access the web interface: http://ip:11001 - ### Docker Deployment Refer to https://github.com/openimsdk/openim-docker for Docker deployment instructions, which can be followed similarly on Linux. diff --git a/scripts/install/openim-rpc.sh b/scripts/install/openim-rpc.sh index db1526d6a..d5870f79c 100755 --- a/scripts/install/openim-rpc.sh +++ b/scripts/install/openim-rpc.sh @@ -139,7 +139,7 @@ function openim::rpc::start() { done done - sleep 1 + sleep 5 openim::util::check_ports ${OPENIM_RPC_PORT_TARGETS[@]} # openim::util::check_ports ${OPENIM_RPC_PROM_PORT_TARGETS[@]}