I think I understood what was going on with my application.
The tty_mux socket might be filling its buffer after some time, and then things do not work well anymore.
Found out that the BUFFER_SIZE is 4096.

ttybus currently doesn't have a way to change this value from the command line, but I am not sure yet if increasing it will make any difference since my app will be running for a long time and the issue will eventually happen again
Do you have a suggestion for what I could do in this case?
I started my issue here, #14 (comment). Well, I am opening a new issue instead of hijacking the other one.
I think I understood what was going on with my application.
The tty_mux socket might be filling its buffer after some time, and then things do not work well anymore.
Found out that the

BUFFER_SIZEis 4096.ttybus currently doesn't have a way to change this value from the command line, but I am not sure yet if increasing it will make any difference since my app will be running for a long time and the issue will eventually happen again
Do you have a suggestion for what I could do in this case?
I started my issue here, #14 (comment). Well, I am opening a new issue instead of hijacking the other one.