mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-10-28 06:22:12 +08:00
fix: component
This commit is contained in:
parent
ea9c75b197
commit
7b5279a15b
@ -99,13 +99,14 @@ func main() {
|
||||
}
|
||||
|
||||
checks := []checkFunc{
|
||||
//{name: "Mysql", function: checkMysql},
|
||||
{name: "Mongo", function: checkMongo, config: conf},
|
||||
{name: "Redis", function: checkRedis, config: conf},
|
||||
{name: "Minio", function: checkMinio, config: conf},
|
||||
{name: "Zookeeper", function: checkZookeeper, config: conf},
|
||||
{name: "Kafka", function: checkKafka, config: conf},
|
||||
}
|
||||
if conf.Object.Enable == "minio" {
|
||||
checks = append(checks, checkFunc{name: "Minio", function: checkMinio, config: conf})
|
||||
}
|
||||
|
||||
for i := 0; i < maxRetry; i++ {
|
||||
if i != 0 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user