Skip to content

Commit

Permalink
locker_lock need not be recursive
Browse files Browse the repository at this point in the history
  • Loading branch information
soininen committed Oct 29, 2024
1 parent df5a1ec commit b7b5039
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spinedb_api/db_mapping_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from contextlib import suppress
from difflib import SequenceMatcher
from enum import Enum, auto, unique
from multiprocessing import RLock
from multiprocessing import Lock, RLock
from typing import Set
from .exception import SpineDBAPIError
from .helpers import Asterisk
Expand Down Expand Up @@ -45,7 +45,7 @@ def __init__(self):
self.closed = False
self._mapped_tables = {}
self._fetched = {}
self._locker_lock = RLock()
self._locker_lock = Lock()
self._locks = {}
self._commit_count = None
item_types = self.item_types()
Expand Down

0 comments on commit b7b5039

Please sign in to comment.