mirror of
https://github.com/craigerl/aprsd.git
synced 2025-04-16 00:09:12 -04:00
Removed fixed size on logging queue
If the logging queue gets full, due to a maxsize being set, then any further logs will result on lots of errors being dumped to stderr as the queue is full.
This commit is contained in:
parent
d6b3df93f1
commit
9eff99dde7
@ -17,7 +17,7 @@ RX_THREAD = "RX"
|
||||
EMAIL_THREAD = "Email"
|
||||
|
||||
rx_msg_queue = queue.Queue(maxsize=20)
|
||||
logging_queue = queue.Queue(maxsize=50)
|
||||
logging_queue = queue.Queue()
|
||||
msg_queues = {
|
||||
"rx": rx_msg_queue,
|
||||
}
|
||||
@ -374,6 +374,7 @@ class KISSRXThread(APRSDThread):
|
||||
frame.header._source._ch = False
|
||||
payload = str(frame.payload.decode())
|
||||
msg = f"{str(frame.header)}:{payload}"
|
||||
# msg = frame.tnc2
|
||||
LOG.debug(f"Decoding {msg}")
|
||||
|
||||
packet = aprslib.parse(msg)
|
||||
|
Loading…
Reference in New Issue
Block a user