mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-10-26 13:12:12 +08:00
fix: config
This commit is contained in:
parent
84513128a7
commit
10a2f751fc
@ -197,6 +197,7 @@ func (ws *WsServer) Run(done chan error) error {
|
||||
return errs.WrapMsg(sErr, "shutdown err")
|
||||
}
|
||||
close(shutdownDone)
|
||||
fmt.Println("SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS")
|
||||
return nil
|
||||
}
|
||||
etcd.RegisterShutDown(shutDown)
|
||||
|
||||
@ -94,7 +94,7 @@ func restartServer(ctx context.Context) error {
|
||||
}
|
||||
log.ZInfo(ctx, "shutdown server")
|
||||
for _, f := range ShutDowns {
|
||||
log.ZInfo(ctx, "shutdown ffff!!!!!")
|
||||
log.ZInfo(ctx, "shutdown ffff")
|
||||
if err = f(); err != nil {
|
||||
log.ZError(ctx, "shutdown fail", err)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user