added chan
This commit is contained in:
parent
41f464a823
commit
d2af3b1183
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ func NewClient(deps Deps) *Client {
|
|||
|
||||
func StartConsumer(ctx context.Context, client *Client, chanLen int) chan []byte {
|
||||
msgCh := make(chan []byte, chanLen)
|
||||
go runConsumer(ctx, client)
|
||||
go runConsumer(ctx, client, msgCh)
|
||||
|
||||
return msgCh
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue