mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +08:00
fix: fix the error
This commit is contained in:
parent
c2c8810331
commit
9318322fa5
@ -51,7 +51,7 @@ function openim::api::start() {
|
|||||||
printf "| Service Name | Port |\n"
|
printf "| Service Name | Port |\n"
|
||||||
printf "+------------------------+--------------+\n"
|
printf "+------------------------+--------------+\n"
|
||||||
|
|
||||||
readonly OPENIM_API_SERVER_LIBRARIES=("${OPENIM_OUTPUT_HOSTBIN}/${SERVER_NAME}")
|
readonly OPENIM_API_SERVER_LIBRARIES="${OPENIM_OUTPUT_HOSTBIN}/${SERVER_NAME}"
|
||||||
openim::util::stop_services_with_name ${OPENIM_API_SERVER_LIBRARIES}
|
openim::util::stop_services_with_name ${OPENIM_API_SERVER_LIBRARIES}
|
||||||
|
|
||||||
local length=${#OPENIM_API_SERVICE_LISTARIES[@]}
|
local length=${#OPENIM_API_SERVICE_LISTARIES[@]}
|
||||||
|
|||||||
@ -677,11 +677,8 @@ openim::util::stop_services_with_name() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
timeout=15
|
timeout=15
|
||||||
start_time=$SECONDS
|
start_time=$SECONDS
|
||||||
|
|
||||||
timeout=15 # 设置超时时间为 15 秒
|
|
||||||
start_time=$SECONDS
|
|
||||||
|
|
||||||
while :; do
|
while :; do
|
||||||
all_pids_empty=true
|
all_pids_empty=true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user