Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"capacity must be positive" error when sending between tasks #712

Closed
Licenser opened this issue Feb 20, 2020 · 2 comments · May be fixed by #715
Closed

"capacity must be positive" error when sending between tasks #712

Licenser opened this issue Feb 20, 2020 · 2 comments · May be fixed by #715

Comments

@Licenser
Copy link
Contributor

I'm hitting a capacity must be positive error when sending between two tasks and I'm a bit unsure what could cause this I think it's a condition that should never be hit?

@Licenser
Copy link
Contributor Author

After re-reading the code it seems to be caused by creating a channel with 0 elements. Is channel(0) is something that is supposed to work?

@yoshuawuyts
Copy link
Contributor

channel(0) is indeed not supposed to work.

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

Successfully merging a pull request may close this issue.

2 participants