Signed-off-by: hanzhixiao <709674996@qq.com>
This commit is contained in:
hanzhixiao 2023-08-09 14:31:01 +08:00
parent a43bb18813
commit 6723a6ec24
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ cmd="./${component_check}"
echo "==========================start components checking===========================">>$OPENIM_ROOT/logs/openIM.log echo "==========================start components checking===========================">>$OPENIM_ROOT/logs/openIM.log
$cmd $cmd
if [ $? -nq 0 ]; then if [ $? -ne 0 ]; then
exit 1 exit 1
fi fi

View File

@ -28,7 +28,7 @@ import (
const ( const (
cfgPath = "../../../../../config/config.yaml" cfgPath = "../../../../../config/config.yaml"
minioHealthCheckDuration = 1 minioHealthCheckDuration = 1
maxRetry = 10 maxRetry = 100
componentStartErrCode = 6000 componentStartErrCode = 6000
configErrCode = 6001 configErrCode = 6001
) )