BugFix: SettingsView Media sizing

This commit is contained in:
Hariharan Mudaliar 2025-12-08 14:26:16 +05:30
commit f9e95fc26e
3 changed files with 6 additions and 5 deletions

View file

@ -6,7 +6,7 @@ import Darwin
final class MemoryUsageMonitor {
static let shared = MemoryUsageMonitor()
private let thresholdBytes: UInt64 = 700 * 1_024 * 1_024
private let thresholdBytes: UInt64 = 1_024 * 1_024 * 1_024
private let pollInterval: TimeInterval = 8 // Clamp within 5-10 seconds to limit battery impact
private let restartCooldown: TimeInterval = 300
private let logSampleInterval: TimeInterval = 300