Compare commits

..

1 commit

Author SHA1 Message Date
javadtgh
68719eef34
Merge 3b262cf180 into 4a75bd0a48 2025-11-01 15:27:38 +03:00

View file

@ -78,10 +78,6 @@ func runWebServer() {
case syscall.SIGHUP:
logger.Info("Received SIGHUP signal. Restarting servers...")
// --- FIX FOR TELEGRAM BOT CONFLICT (409): Stop bot before restart ---
service.StopBot()
// --
err := server.Stop()
if err != nil {
logger.Debug("Error stopping web server:", err)
@ -110,10 +106,6 @@ func runWebServer() {
log.Println("Sub server restarted successfully.")
default:
// --- FIX FOR TELEGRAM BOT CONFLICT (409) on full shutdown ---
service.StopBot()
// ------------------------------------------------------------
server.Stop()
subServer.Stop()
log.Println("Shutting down servers.")