MCPcopy Index your code
hub / github.com/openai/plugins / sqlite_busy

Function sqlite_busy

plugins/codex-security/scripts/workbench_db.py:412–413  ·  view source on GitHub ↗
(error: sqlite3.OperationalError)

Source from the content-addressed store, hash-verified

410
411
412def sqlite_busy(error: sqlite3.OperationalError) -> bool:
413 return "locked" in str(error).lower() or "busy" in str(error).lower()
414
415
416def apply_migrations(connection: sqlite3.Connection) -> None:

Callers 1

connectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected