mirror of https://github.com/craigerl/aprsd.git
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
99de956843
commit
5bebebb9d2
|
@ -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