sink: concurrent connection handling

This commit is contained in:
Christian Schwarz 2018-09-18 22:44:00 +02:00
parent 6c3f442f13
commit 7f9eb62640

View File

@ -76,7 +76,7 @@ outer:
connId++
connLog := log.
WithField("connID", connId)
j.handleConnection(WithLogger(ctx, connLog), res.conn)
go j.handleConnection(WithLogger(ctx, connLog), res.conn)
case <-ctx.Done():
break outer