refactor: Make db mutex non-recursive.

This commit is contained in:
tecnovert
2024-05-29 22:15:02 +02:00
parent ae1df0b556
commit 5f6819afcb
7 changed files with 278 additions and 355 deletions

View File

@@ -46,7 +46,7 @@ class BaseApp:
self.settings = settings
self.coin_clients = {}
self.coin_interfaces = {}
self.mxDB = threading.RLock()
self.mxDB = threading.Lock()
self.debug = self.settings.get('debug', False)
self.delay_event = threading.Event()
self.chainstate_delay_event = threading.Event()