hardbyte / hardbyte/python-can

AsyncBufferedReader misses messages

Aperta
#1,291 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Python
Stelle
1.6k
Fork
697
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.