feat: Activate sqlite blocking detection again (#5203)

Activate sqlite blocking detection again
This commit is contained in:
Christophe Bornet 2024-12-11 16:48:17 +01:00 committed by GitHub
commit 624fa71709
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,10 +59,6 @@ def blockbuster(request):
"io.TextIOWrapper.read",
]:
bb.functions[func].can_block_functions.append(("importlib_metadata/__init__.py", {"metadata"}))
for func in bb.functions:
if func.startswith("sqlite3."):
bb.functions[func].deactivate()
yield bb