Context
_get_service_data_info() (added in upstream PR Light-Heart-Labs#812) calls dir_size_gb() synchronously during disable/uninstall responses. On large data dirs (e.g., ComfyUI, tens of GB), this adds 2-5 seconds of latency.
Options
- Background annotation — return response immediately, compute data_info async
- Cached size — pre-compute periodically, return cached value
- Opt-in parameter —
?include_data_info=true, skip scan by default
Priority
Low — affects UX only for services with very large data directories.