Skip to content

Commit b93b0e6

Browse files
lesnik512claude
andcommitted
docs(planning): align Bulkhead spec with implementation (TimeoutError, not asyncio.TimeoutError)
In Python 3.11+, asyncio.TimeoutError IS builtins.TimeoutError. The implementation uses the bare name; align the spec snippet so spec and code agree. Cosmetic — no behavior change. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent cbf0724 commit b93b0e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

planning/specs/2026-06-05-bulkhead-design.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ async def __call__(self, request, next):
109109
else:
110110
async with asyncio.timeout(self._acquire_timeout):
111111
await self._sem.acquire()
112-
except asyncio.TimeoutError as exc:
112+
except TimeoutError as exc: # builtins.TimeoutError, which `asyncio.timeout` raises in 3.11+
113113
raise BulkheadFullError(
114114
max_concurrent=self._max_concurrent,
115115
acquire_timeout=self._acquire_timeout,

0 commit comments

Comments
 (0)