From 29b4b04eee071b0e65298759ad685275280d1256 Mon Sep 17 00:00:00 2001 From: Hemna Date: Wed, 20 Mar 2024 09:23:27 -0400 Subject: [PATCH] No need to synchronize on stats this patch updates the stats object to remove the synchronize on calling stats. each property on the stats object are already synchronized. --- aprsd/stats.py | 1 - 1 file changed, 1 deletion(-) diff --git a/aprsd/stats.py b/aprsd/stats.py index 5c8380a..cb20eb8 100644 --- a/aprsd/stats.py +++ b/aprsd/stats.py @@ -174,7 +174,6 @@ class APRSDStats: def email_thread_update(self): self._email_thread_last_time = datetime.datetime.now() - @wrapt.synchronized(lock) def stats(self): now = datetime.datetime.now() if self._email_thread_last_time: