From ec92b07e31c622181f5699692bc8143bc6ef7a99 Mon Sep 17 00:00:00 2001 From: Hemna Date: Wed, 25 Aug 2021 08:25:36 -0400 Subject: [PATCH] Silence some log noise Removed an email thread log at the start of the loop. Also bumped the Keepalivethread time to 60 seconds --- aprsd/plugins/email.py | 2 -- aprsd/threads.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/aprsd/plugins/email.py b/aprsd/plugins/email.py index c5bf6c4..e96e81c 100644 --- a/aprsd/plugins/email.py +++ b/aprsd/plugins/email.py @@ -537,8 +537,6 @@ class APRSDEmailThread(threads.APRSDThread): def loop(self): global check_email_delay - LOG.debug("Starting Loop") - check_email_delay = 60 time.sleep(5) stats.APRSDStats().email_thread_update() diff --git a/aprsd/threads.py b/aprsd/threads.py index fa75f69..e1589bb 100644 --- a/aprsd/threads.py +++ b/aprsd/threads.py @@ -90,7 +90,7 @@ class KeepAliveThread(APRSDThread): self.config = config def loop(self): - if self.cntr % 6 == 0: + if self.cntr % 60 == 0: tracker = messaging.MsgTrack() stats_obj = stats.APRSDStats() pl = packets.PacketList()