Make pubsub channel size configurable #125
Closed
andrii-zhuk
started this conversation in
Ideas
Replies: 1 comment
-
Have you tried 6.1.0? I added a global function to control this (shown in the linked code there), but it needs to be called before allocating the client with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As I can see in the code (https://github.com/aembke/fred.rs/blob/main/src/modules/inner.rs#L81) pubsub is a broadcast channel with fixed default capacity of 32. I am hitting channel overflow error quite often when I try to receive messages.
Is it possible to increase this value, or ideally make it configurable?
Beta Was this translation helpful? Give feedback.
All reactions