mirror of
https://github.com/craigerl/aprsd.git
synced 2026-06-18 21:58:44 -04:00
Make sure to sleep(1) in the main RX thread
In case the consumer can't run, we need to sleep in the main loop of the RX thread in case we are paused.
This commit is contained in:
@@ -70,6 +70,7 @@ class APRSDRXThread(APRSDThread):
|
||||
self._client.reset()
|
||||
time.sleep(5)
|
||||
# Continue to loop
|
||||
time.sleep(1)
|
||||
return True
|
||||
|
||||
def _process_packet(self, *args, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user