mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-10 00:22:23 +08:00
Optimize Docker configuration and script.
This commit is contained in:
parent
3ad8056c8f
commit
5bb0efa845
@ -4,7 +4,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/openimsdk/open-im-server/v3/pkg/util/mageutil"
|
||||
"github.com/openimsdk/gomake/mageutil"
|
||||
"os"
|
||||
"strings"
|
||||
)
|
||||
@ -25,7 +25,12 @@ func Build() {
|
||||
}
|
||||
|
||||
func Start() {
|
||||
setMaxOpenFiles()
|
||||
mageutil.InitForSSC()
|
||||
err := setMaxOpenFiles()
|
||||
if err != nil {
|
||||
mageutil.PrintRed("setMaxOpenFiles failed " + err.Error())
|
||||
os.Exit(1)
|
||||
}
|
||||
mageutil.StartToolsAndServices()
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user