1
0
mirror of https://github.com/craigerl/aprsd.git synced 2026-08-14 23:53:32 -04:00

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.
This commit is contained in:
2024-03-20 09:23:27 -04:00
parent 12dab284cb
commit 29b4b04eee
-1
View File
@@ -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: