Cog-Creators / Red-DiscordBot

A multi-function Discord bot
https://docs.discord.red
GNU General Public License v3.0
4.72k stars 2.3k forks source link

Set ProcessType in macOS auto-restart service to 'interactive' #6416

Closed Jackenmen closed 1 month ago

Jackenmen commented 1 month ago

Description of the changes

This should help with audio stuttering that some users experienced only when using macOS auto-restart service but not when using it interactively.

Relevant documentation:

If [ProcessType is] left unspecified, the system will apply light resource limits to the job, throttling its CPU usage and I/O bandwidth. [...] Interactive jobs run with the same resource limitations as apps, that is to say, none. Interactive jobs are critical to maintaining a responsive user experience, and this key should only be used if an app's ability to be responsive depends on it, and cannot be made Adaptive.

Have the changes in this PR been tested?

No

I did not test these changes but they appeared to help at least one person in our support server.