minotr message fix

This commit is contained in:
2025-08-12 16:40:18 +09:00
parent 41cd725c1c
commit 31a4223aab
2 changed files with 4 additions and 4 deletions

View File

@ -1932,7 +1932,7 @@ func (s *Server) RunRpxTask(wg *sync.WaitGroup) {
go func(i int, cs *http.Server) {
var l net.Listener
s.log.Write("", LOG_INFO, "rpx channel[%d] started on %s", i, s.Cfg.RpxAddrs[i])
s.log.Write("", LOG_INFO, "RPX channel[%d] started on %s", i, s.Cfg.RpxAddrs[i])
if s.stop_req.Load() == false {
l, err = net.Listen(TcpAddrStrClass(cs.Addr), cs.Addr)
@ -1962,9 +1962,9 @@ func (s *Server) RunRpxTask(wg *sync.WaitGroup) {
err = fmt.Errorf("stop requested")
}
if errors.Is(err, http.ErrServerClosed) {
s.log.Write("", LOG_INFO, "rpx channel[%d] ended", i)
s.log.Write("", LOG_INFO, "RPX channel[%d] ended", i)
} else {
s.log.Write("", LOG_ERROR, "rpx channel[%d] error - %s", i, err.Error())
s.log.Write("", LOG_ERROR, "RPX channel[%d] error - %s", i, err.Error())
}
l_wg.Done()
}(idx, rpx)