mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Merge branch 'main' into dev
This commit is contained in:
@@ -97,7 +97,7 @@ type internal struct {
|
||||
sweeper *time.Timer
|
||||
stmr *time.Timer
|
||||
replies map[string]msgHandler
|
||||
sendq *ipQueue // of *pubMsg
|
||||
sendq *ipQueue[*pubMsg]
|
||||
resetCh chan struct{}
|
||||
wg sync.WaitGroup
|
||||
sq *sendq
|
||||
@@ -346,8 +346,7 @@ RESET:
|
||||
select {
|
||||
case <-sendq.ch:
|
||||
msgs := sendq.pop()
|
||||
for _, pmi := range msgs {
|
||||
pm := pmi.(*pubMsg)
|
||||
for _, pm := range msgs {
|
||||
if pm.si != nil {
|
||||
pm.si.Name = servername
|
||||
pm.si.Domain = domain
|
||||
|
||||
Reference in New Issue
Block a user