feat: Activate blockbuster Lock.aquire detection (#5157)
Activate blockbuster Lock.aquire detection Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
parent
267c08bc07
commit
d58530c358
1 changed files with 4 additions and 1 deletions
|
|
@ -63,7 +63,10 @@ def blockbuster(request):
|
|||
"io.TextIOWrapper.read",
|
||||
]:
|
||||
bb.functions[func].can_block_functions.append(("importlib_metadata/__init__.py", {"metadata"}))
|
||||
bb.functions["threading.Lock.acquire"].deactivate()
|
||||
|
||||
for func in bb.functions:
|
||||
if func.startswith("sqlite3."):
|
||||
bb.functions[func].deactivate()
|
||||
yield bb
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue