mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
BugFix: SettingsView Media sizing
This commit is contained in:
parent
628892a73b
commit
f9e95fc26e
3 changed files with 6 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue