mirror of
https://gitee.com/johng/gf.git
synced 2024-12-02 12:17:53 +08:00
gofmt格式化
This commit is contained in:
parent
802187abc4
commit
90f4bba8fd
@ -193,7 +193,7 @@ func (s *Server) Start() error {
|
||||
|
||||
// If this is a child process, it then notifies its parent exit.
|
||||
if gproc.IsChild() {
|
||||
gtimer.SetTimeout(time.Duration(s.config.GracefulTimeout) * time.Second, func() {
|
||||
gtimer.SetTimeout(time.Duration(s.config.GracefulTimeout)*time.Second, func() {
|
||||
if err := gproc.Send(gproc.PPid(), []byte("exit"), adminGProcCommGroup); err != nil {
|
||||
//glog.Error("server error in process communication:", err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user