mirror of
https://github.com/Li4n0/revsuit.git
synced 2026-09-22 06:40:43 +08:00
fix(settings): fix the bug of update rmi & mysql addr settings not working (#49)
This commit is contained in:
+1
-1
@@ -273,7 +273,7 @@ func (s *Server) Stop() {
|
||||
}
|
||||
|
||||
func (s *Server) Restart() {
|
||||
s.Enable = false
|
||||
s.Stop()
|
||||
time.Sleep(time.Second * 2)
|
||||
go s.Run()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user