From 960d51eda086b6bc4ad4cfc7e9a40da1804639fd Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong (cubxxw)" <3293172751nss@gmail.com> Date: Wed, 10 Jan 2024 16:56:39 +0800 Subject: [PATCH] feat: add openim v3.4 and v3.5 changelog Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com> --- scripts/install/openim-rpc.sh | 2 +- scripts/stop-all.sh | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/scripts/install/openim-rpc.sh b/scripts/install/openim-rpc.sh index 05b317261..b66004191 100755 --- a/scripts/install/openim-rpc.sh +++ b/scripts/install/openim-rpc.sh @@ -138,7 +138,7 @@ function openim::rpc::start() { done done - sleep 10 + sleep 1 openim::util::check_ports ${OPENIM_RPC_PORT_TARGETS[@]} # openim::util::check_ports ${OPENIM_RPC_PROM_PORT_TARGETS[@]} diff --git a/scripts/stop-all.sh b/scripts/stop-all.sh index 090c48b0d..c3d07744e 100755 --- a/scripts/stop-all.sh +++ b/scripts/stop-all.sh @@ -34,4 +34,13 @@ openim::util::stop_services_on_ports ${OPENIM_SERVER_PORT_LISTARIES[@]} echo -e "\n++ Stop all processes in the path ${OPENIM_OUTPUT_HOSTBIN}" -openim::util::stop_services_with_name "${OPENIM_OUTPUT_HOSTBIN}" \ No newline at end of file +openim::util::stop_services_with_name "${OPENIM_OUTPUT_HOSTBIN}" + +echo -n "Stopping services" +for i in {1..15}; do + echo -n "." + sleep 1 +done +echo -e "\nServices stopped." + +openim::log::success "✨ Wait 15 seconds for all processes to be killed" \ No newline at end of file