1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-08-17 14:51:04 +02:00

Merge pull request #835 from JakeStanger/fix/keys-cpu

fix(keys): high cpu usage
This commit is contained in:
Jake Stanger 2025-01-06 22:19:38 +00:00 committed by GitHub
commit b296726aa4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -217,6 +217,9 @@ impl Client {
_ => {} _ => {}
} }
} }
// we need to sleep for a short period to avoid hogging cpu
std::thread::sleep(Duration::from_millis(20));
} }
} }