increase buffer size of BufferedReader

27 views
Skip to first unread message

Paul Thomas

unread,
Nov 8, 2021, 9:19:36 AM11/8/21
to python-can
Hi All, I was wondering if there was a way to increase the buffer size in BufferedReader()? I seem to still hit an issue at about 886 messages.

thanks,
Paul

Paul Thomas

unread,
Nov 8, 2021, 12:53:33 PM11/8/21
to python-can
OK, I see the implementation uses SimpleQueue() and the comment says this is "infinite" size. So really I guess the question is why I'm I missing packets that wireshark sees? Doe it have to do with how python does threading? I see the:
    reader = threading.Thread...
    reader.start()
In Notifier.add_bus(), but I never see another actual thread (Linux lwp) as a result of this?

Felix Divo

unread,
Nov 9, 2021, 9:58:07 AM11/9/21
to python-can
I'd be very surprised if it was due to threading. What interface and configuration are you using?
Felix

Reply all
Reply to author
Forward
0 new messages