mirror of
https://github.com/craigerl/aprsd.git
synced 2026-08-14 07:33:39 -04:00
Change RX packet processing to enqueu
This changes the RX thread to send the packet into a queue instead of starting a new thread for every packet.
This commit is contained in:
@@ -90,7 +90,7 @@ class TestSendMessageCommand(unittest.TestCase):
|
||||
mock_emit.called_once()
|
||||
|
||||
@mock.patch("aprsd.config.parse_config")
|
||||
@mock.patch("aprsd.packets.PacketList.add")
|
||||
@mock.patch("aprsd.packets.PacketList.rx")
|
||||
@mock.patch("aprsd.cmds.webchat.socketio.emit")
|
||||
def test_process_our_message_packet(
|
||||
self, mock_parse_config,
|
||||
|
||||
Reference in New Issue
Block a user