Mailspring/packages
Mark Hahnenberg ac6ad38296 [local-sync] Throttle message processing when on battery
Summary:
We don't want to run message processing full tilt when a user isn't plugged in.
This diff adds some detection logic that causes message processing to be
throttled/unthrottled when a user unplugs/plugs in their computer.

Test Plan: Run locally unplugged and plugged in, verify that CPU use goes up/down

Reviewers: evan, juan

Reviewed By: juan

Differential Revision: https://phab.nylas.com/D3759
2017-01-23 18:31:35 -08:00
..
isomorphic-core 🎨 Error message 2017-01-19 23:33:22 -08:00
local-private [local-private] use new action name 2017-01-16 10:30:41 -08:00
local-sync [local-sync] Throttle message processing when on battery 2017-01-23 18:31:35 -08:00