From c9dc4f67d43a95c4abf39c0bf3e90dabe7778662 Mon Sep 17 00:00:00 2001 From: Hemna Date: Tue, 26 Sep 2023 15:27:51 -0400 Subject: [PATCH] minor cleanup prior to release --- aprsd/threads/rx.py | 6 +----- docker/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/aprsd/threads/rx.py b/aprsd/threads/rx.py index dec146e..8387d16 100644 --- a/aprsd/threads/rx.py +++ b/aprsd/threads/rx.py @@ -125,8 +125,6 @@ class APRSDProcessPacketThread(APRSDThread): # We don't put ack packets destined for us through the # plugins. - wl = packets.WatchList() - wl.update_seen(packet) if ( isinstance(packet, packets.AckPacket) and packet.addresse.lower() == our_call @@ -214,9 +212,7 @@ class APRSDPluginProcessPacketThread(APRSDProcessPacketThread): to_call = packet.addresse else: to_call = None - # msg = packet.get("message_text", None) - # packet.get("msgNo", "0") - # packet.get("response", None) + pm = plugin.PluginManager() try: results = pm.run(packet) diff --git a/docker/Dockerfile b/docker/Dockerfile index 1f12c55..ee52cd3 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -57,5 +57,5 @@ VOLUME ["/config"] # Set the user to run the application USER appuser -HEALTHCHECK --interval=5m --timeout=12s --start-period=30s \ - CMD aprsd healthcheck --config /config/aprsd.conf +HEALTHCHECK --interval=1m --timeout=12s --start-period=30s \ + CMD aprsd healthcheck --config /config/aprsd.conf --loglevel DEBUG