Ver Fonte

Merge branch 'master' of http://git.ndjsxh.cn:10080/hcyf/ordonnance

y595705120 há 3 anos atrás
pai
commit
85c7cb4a88
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      main.go

+ 1 - 1
main.go

@@ -99,7 +99,7 @@ func restart(ctx *cli.Context) error {
 	logger.Info("restarting..." + string(pid))
 	stop := exec.Command("kill", "-9", string(pid))
 	stop.Start()
-	time.Sleep(5 * time.Second)
+	time.Sleep(2 * time.Second)
 	start := exec.Command(pidName, "start")
 	start.Start()
 	return nil