mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-10-26 21:22:16 +08:00
fix: config
This commit is contained in:
parent
8a9c921de2
commit
541120dea6
@ -196,6 +196,7 @@ func (ws *WsServer) Run(done chan error) error {
|
|||||||
if sErr != nil {
|
if sErr != nil {
|
||||||
return errs.WrapMsg(sErr, "shutdown err")
|
return errs.WrapMsg(sErr, "shutdown err")
|
||||||
}
|
}
|
||||||
|
fmt.Println("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA")
|
||||||
close(shutdownDone)
|
close(shutdownDone)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,6 @@ package etcd
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
|
||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"runtime"
|
"runtime"
|
||||||
@ -105,9 +104,6 @@ func restartServer(ctx context.Context) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return errs.New("restart server fail").Wrap()
|
return errs.New("restart server fail").Wrap()
|
||||||
}
|
}
|
||||||
fmt.Println("::::::::::::::::::::::::::::::::::::::::::::::::::::")
|
|
||||||
fmt.Println(cmd.String())
|
|
||||||
fmt.Println("::::::::::::::::::::::::::::::::::::::::::::::::::::")
|
|
||||||
|
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user