mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-03 02:00:29 +08:00
fix metrics exporter messing up health endpoint
This commit is contained in:
parent
b268296504
commit
1338e8935f
@ -18,6 +18,9 @@ os.environ["NO_ALBUMENTATIONS_UPDATE"] = "1"
|
||||
os.environ['HF_HUB_DISABLE_TELEMETRY'] = '1'
|
||||
os.environ['DO_NOT_TRACK'] = '1'
|
||||
|
||||
if 'OTEL_METRICS_EXPORTER' not in os.environ:
|
||||
os.environ['OTEL_METRICS_EXPORTER'] = 'none'
|
||||
|
||||
import ctypes
|
||||
import importlib.util
|
||||
import logging
|
||||
|
||||
Loading…
Reference in New Issue
Block a user