mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
fire send in a go routine to prevent blocking other requests
This commit is contained in:
parent
1d00f2f771
commit
6a9f5fac61
@ -433,7 +433,7 @@ func (t *tun) process() {
|
||||
}
|
||||
|
||||
// send the message
|
||||
t.sendTo(sendTo, msg)
|
||||
go t.sendTo(sendTo, msg)
|
||||
case <-t.closed:
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user