hardbyte / hardbyte/python-can

AsyncBufferedReader misses messages

未关闭
#1,291 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Python
星标
1.6k
派生
697
PR 合并指标
30 天内没有已合并 PR

描述

Hello,

I'm using can.AsyncBufferedReader(), and it seems if there is too much time time between reader.get_message() calls then messages are lost. They are still seen by wireshark, but not from reader.get_message(). Is this the expected behavior? Is there anything that can be done about this?

Even very small sleeps like time.sleep(0.001) will cause this issue.

OS and version: Ubuntu
Kernel: 5.4.0-107-generic
Python version: 3.8.10
python-can version: 4.0.0
python-can interface/s (if applicable): socketcan w/ peak_usb

Any help would be appreciated.

-Paul

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。