Parallelize RPC server message processing

This commit is contained in:
Roland Shoemaker 2015-10-01 17:35:10 -07:00
parent 60997377e6
commit c22a21febb
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ func (rpc *AmqpRPCServer) Start(c cmd.Config) error {
select {
case msg, ok := <-msgs:
if ok {
rpc.processMessage(msg)
go rpc.processMessage(msg)
} else {
// chan has been closed by rpc.channel.Cancel
rpc.log.Info(" [!] Finished processing messages")