mirror of
https://review.haiku-os.org/haiku
synced 2025-01-21 13:54:49 +01:00
9edb207fab
Registrar schedules an event every second to do fRoster-CheckSanity(). This uses 2.5% cpu on my machine when idle. Changing it to five seconds lowers it to 0.1% waddlesplash then pointed me to this bug which changes it to watch for team deletion and call fRoster->CheckSanity() As I know little in this area, it's mostly based on what LaunchDaemon does in MessageRecieved. Change-Id: Ie69f9399cab41d2d492d469b5d3dc88e6080c15c Reviewed-on: https://review.haiku-os.org/c/876 Reviewed-by: waddlesplash <waddlesplash@gmail.com>