reqCtx() now applies the server's requestTimeout (default 30s) to the context returned for request handlers. This prevents bd list and other commands from hanging indefinitely when database operations stall. The fix ensures: - All RPC handlers get a context with a deadline - Database operations (using QueryContext) honor context cancellation - reconnectMu read locks are released when context times out Fixes: bd-p76kv Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> Executed-By: beads/crew/dave Rig: beads Role: crew
14 KiB
14 KiB