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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user