From bf905a0e9faedab4b160764a26e7e310e16ba7e7 Mon Sep 17 00:00:00 2001 From: Hemna Date: Fri, 6 Oct 2023 16:06:41 -0400 Subject: [PATCH] Update the packet_dupe_timeout warning The warning text was hardcoded at the old 60 second value, instead of using the config option. --- aprsd/threads/rx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aprsd/threads/rx.py b/aprsd/threads/rx.py index 4509909..98e5054 100644 --- a/aprsd/threads/rx.py +++ b/aprsd/threads/rx.py @@ -112,7 +112,7 @@ class APRSDPluginRXThread(APRSDRXThread): else: LOG.warning( f"Packet {packet.from_call}:{packet.msgNo} already tracked " - "but older than 60 seconds. processing.", + f"but older than {CONF.packet_dupe_timeout} seconds. processing.", ) pkt_list.rx(packet) self.packet_queue.put(packet)