We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3671e68 commit 118fbb3Copy full SHA for 118fbb3
src/spaceone/core/handler/__init__.py
@@ -26,7 +26,7 @@
26
"mutation": [],
27
"event": [],
28
}
29
-_HANDLER_THREAD_LOCK = threading.Lock()
+_HANDLER_INIT_LOCK = threading.Lock()
30
31
_LOGGER = logging.getLogger(__name__)
32
@@ -147,7 +147,7 @@ def get_event_handlers() -> List[BaseEventHandler]:
147
148
def _check_init_state() -> None:
149
if not _HANDLER_INFO["init"]:
150
- with _HANDLER_THREAD_LOCK:
+ with _HANDLER_INIT_LOCK:
151
152
_init_handlers()
153
_HANDLER_INFO["init"] = True
0 commit comments