nvml: add rtd3 memory workaround, fix slog imports (#1587)

* NVML: only read memory usage if utilization > 0% to allow rtd3, #1522

* logging: /x/exp/slog -> log/slog everywhere, fixes log instance inconsistencies
This commit is contained in:
crimist
2026-01-05 12:26:59 -08:00
committed by GitHub
parent 4547ff7b5d
commit 475c53a55d
5 changed files with 31 additions and 19 deletions

View File

@@ -19,7 +19,7 @@ import (
"github.com/henrygd/beszel/internal/entities/smart"
"golang.org/x/exp/slog"
"log/slog"
)
// SmartManager manages data collection for SMART devices