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:
Hemna 2024-03-20 09:23:27 -04:00
parent 99de956843
commit 5bebebb9d2
1 changed files with 0 additions and 1 deletions

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: