feat: Add sqlite to blocking call detection (#4376)
This commit is contained in:
parent
c0b25fa651
commit
abf38e96e2
3 changed files with 4 additions and 7 deletions
|
|
@ -63,9 +63,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()
|
||||
bb.functions["threading.Lock.acquire"].deactivate()
|
||||
yield bb
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue