mirror of
https://github.com/go-micro/go-micro.git
synced 2025-09-16 08:36:30 +02:00
fire send in a go routine to prevent blocking other requests
This commit is contained in:
@@ -433,7 +433,7 @@ func (t *tun) process() {
|
||||
}
|
||||
|
||||
// send the message
|
||||
t.sendTo(sendTo, msg)
|
||||
go t.sendTo(sendTo, msg)
|
||||
case <-t.closed:
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user