fix disk monitor preferences profile ownership

This commit is contained in:
Mateusz Gruszczyński
2026-06-07 23:29:07 +02:00
parent 8990f2b404
commit c21a3ad944
8 changed files with 102 additions and 16 deletions
+1 -1
View File
@@ -247,7 +247,7 @@ def _clear_disk_refresh_cache(profile_id: int) -> None:
def _emit_profile_disk_refresh(profile_id: int, reason: str, hash_count: int = 0, delay_seconds: int = 0) -> None:
_clear_disk_refresh_cache(profile_id)
# Note: The browser performs the fresh /api/system/disk read so user-specific disk monitor preferences stay respected.
# Note: The browser performs the fresh /api/system/disk read so profile-scoped disk monitor preferences stay respected.
_emit("disk_refresh_requested", {
"profile_id": int(profile_id),
"hash_count": int(hash_count or 0),