Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

panic due to concurrent map write #30

Open
Loushu opened this issue Sep 17, 2019 · 0 comments
Open

panic due to concurrent map write #30

Loushu opened this issue Sep 17, 2019 · 0 comments

Comments

@Loushu
Copy link

Loushu commented Sep 17, 2019

Map write is done under a read lock, which is causing a panic if multiple Consume calls are done in parallel on a Channel

ch.consumers[consumerName] = c

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant