Skip to content

Commit 8e583c4

Browse files
committed
Code comment polish
Signed-off-by: Jialin Ouyang <[email protected]>
1 parent 5264699 commit 8e583c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vllm/envs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1430,9 +1430,10 @@ def enable_envs_cache() -> None:
14301430
runtime overhead. This also means that environment variables should NOT
14311431
be updated after the service is initialized.
14321432
"""
1433-
# Tag __getattr__ with lru_cache
1433+
# Tag __getattr__ with functools.cache
14341434
global __getattr__
14351435
__getattr__ = functools.cache(__getattr__)
1436+
14361437
# Cache all environment variables
14371438
for key in environment_variables:
14381439
__getattr__(key)

0 commit comments

Comments
 (0)