mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
BugFix: Brightness Flash problem
This commit is contained in:
parent
1fd62b8e61
commit
4c7e79b954
2 changed files with 17 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ import Darwin
|
|||
final class MemoryUsageMonitor {
|
||||
static let shared = MemoryUsageMonitor()
|
||||
|
||||
private let thresholdBytes: UInt64 = 300 * 1_024 * 1_024
|
||||
private let thresholdBytes: UInt64 = 700 * 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