mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-08-27 14:17:10 -04:00
fix(wrap): annotate startup lock
This commit is contained in:
parent
2057cd49bc
commit
f655e03553
1 changed files with 1 additions and 1 deletions
|
|
@ -3854,7 +3854,7 @@ def _ensure_proxy_unlocked(
|
|||
|
||||
|
||||
@contextmanager
|
||||
def _proxy_start_lock(port: int):
|
||||
def _proxy_start_lock(port: int) -> Any:
|
||||
"""Serialize wrap proxy startup across processes sharing a port.
|
||||
|
||||
A proxy can spend tens of seconds loading optional ML components before it
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue