1
0
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:
Asim Aslam 2020-01-25 23:16:00 +00:00
parent 1d00f2f771
commit 6a9f5fac61

View File

@ -433,7 +433,7 @@ func (t *tun) process() {
}
// send the message
t.sendTo(sendTo, msg)
go t.sendTo(sendTo, msg)
case <-t.closed:
return
}