When the dashboard is out of focus on MacOS, it speeds up its operations greatly (I suspect this is due to vsync not working properly for out-of-focus windows). This can lead to nasty things like API rate-limiting.
The current band-aid for this is the key maybe_pause_subduration_ms_when_window_unfocused in app_config.json. If it's null, the window won't pause when out of focus; otherwise, it will pause, and try to resume operations every N milliseconds.
The window_always_on_top key can also be used for this (theoretically, enabling this should also keep the window in focus indefinitely).
Maybe see if I can fall back to manually sleeping if a render cycle completes too quickly? Or just wait for Apple to fix this?
When the dashboard is out of focus on MacOS, it speeds up its operations greatly (I suspect this is due to vsync not working properly for out-of-focus windows). This can lead to nasty things like API rate-limiting.
The current band-aid for this is the key
maybe_pause_subduration_ms_when_window_unfocusedinapp_config.json. If it's null, the window won't pause when out of focus; otherwise, it will pause, and try to resume operations every N milliseconds.The
window_always_on_topkey can also be used for this (theoretically, enabling this should also keep the window in focus indefinitely).Maybe see if I can fall back to manually sleeping if a render cycle completes too quickly? Or just wait for Apple to fix this?