trying to stop instability from happening

This commit is contained in:
Simon Martens
2025-10-02 00:08:37 +02:00
parent f61e1fdc01
commit ddd8171c08
6 changed files with 8 additions and 220 deletions

View File

@@ -195,11 +195,6 @@ func (s *Server) Kill() {
s.shutdown.Wait()
}
func (s *Server) Restart() {
s.Stop()
s.Start()
}
func (s *Server) runner(srv *fiber.App) {
s.running = make(chan bool)
s.shutdown = &sync.WaitGroup{}