mirror of
https://github.com/craigerl/aprsd.git
synced 2025-03-07 20:08:35 -05: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:
parent
12dab284cb
commit
29b4b04eee
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user