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

Channel size #169

Closed
mschauer opened this issue Nov 22, 2017 · 1 comment
Closed

Channel size #169

mschauer opened this issue Nov 22, 2017 · 1 comment

Comments

@mschauer
Copy link
Contributor

mschauer commented Nov 22, 2017

I have a somewhat more complicated Makie plot and run into channel size issues. I see that the channel size is hardcoded to 1024. Should it be possible to increase that?

Edit: I guess the outcommented lines strain the message queue are the loops are looping over 500 line vectors. https://github.com/mschauer/Bridge.jl/blob/partial2/example/makie.jl#L23

@JobJob
Copy link
Member

JobJob commented Nov 23, 2017

Yeah, as far as I understand it, that limit is pretty arbitrary. If you want to make it modifiable I guess you'd just change this line https://github.com/JuliaGizmos/Reactive.jl/blob/master/src/core.jl#L17 to:

const CHANNEL_SIZE = get(ENV, "REACTIVE_CHANNEL_SIZE", 1024)
then set ENV["REACTIVE_CHANNEL_SIZE"] = ??? in your ~/.juliarc.jl

PR welcome.

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

No branches or pull requests

2 participants