fix: use correct units in cache size log message

This commit is contained in:
Travis Abendshien
2025-09-06 20:10:26 -07:00
parent 47baa6f09e
commit 19cdb80b57

View File

@@ -1702,8 +1702,9 @@ class QtDriver(DriverMixin, QObject):
max_size=self.settings.thumb_cache_size,
img_quality=self.settings.cached_thumb_quality,
)
cache_size = self.settings.thumb_cache_size * self.cache_manager.STAT_MULTIPLIER
logger.info(
f"[Config] Thumbnail Cache Size: {format_size(self.settings.thumb_cache_size)}",
f"[Config] Thumbnail Cache Size: {format_size(cache_size)}",
)
# Migration is required