On Nov 14, 2017, at 16:43 , Nathan Day <nathan_...@mac.com> wrote: > > I have a background process that uses an NSTimer that is set to fire every > minute, but when the computer is inactive for a while it will stop firing
My guess is that it’s not a problem with the timer, but with the quality of service (QoS) of the thread that’s servicing the timer. If this is a background process, it may be that the default QoS is “background”, which allows the system to defer execution indefinitely. I would suggest you try setting the QoS to at least “utility”, perhaps even “user initiated”. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com