Skip to content

Commit 2a3d1a8

Browse files
committed
Code comment polish
Signed-off-by: Jialin Ouyang <[email protected]>
1 parent 1183fb9 commit 2a3d1a8

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
@@ -1437,9 +1437,10 @@ def enable_envs_cache() -> None:
14371437
runtime overhead. This also means that environment variables should NOT
14381438
be updated after the service is initialized.
14391439
"""
1440-
# Tag __getattr__ with lru_cache
1440+
# Tag __getattr__ with functools.cache
14411441
global __getattr__
14421442
__getattr__ = functools.cache(__getattr__)
1443+
14431444
# Cache all environment variables
14441445
for key in environment_variables:
14451446
__getattr__(key)

0 commit comments

Comments
 (0)