HomePhabricator

When daemons hibernate, mark them as not busy

Description

When daemons hibernate, mark them as not busy

The idle timer was not being reset on a hibernation exit vs a scaledown exit,
so the pool could get sort of "stuck" relaunching the second daemon. Instead,
reset the idle timer on hibernation exit.

bin/phd debug task --pool 4 now scales down cleanly instead of trying to
relaunch the second daemon after its scales down if the first one is
hibernating.

Auditors: chad

Details

Auditors
chad
Group Auditors
Cowboy Commits
Provenance
epriestleyAuthored on Mar 25 2017, 10:14 AM
epriestleyPushed on Mar 25 2017, 10:17 AM
Parents
rPHUc0bc116bedc8: Clean up a few more daemon behaviors
Branches
Unknown
Tags
Unknown
Build Status
Buildable 16156
Build 21441: Run Core Tests