HomePhabricator

(stable) Add "--pool" and "--duration" flags to daemon CLI tools

Description

(stable) Add "--pool" and "--duration" flags to daemon CLI tools

Summary: Ref T12331. These changes are intended to make it easier to debug T12331 since I'm having difficulty reproducing the issue locally.

Test Plan:

  • Ran bin/phd debug task --pool 4 and got an autoscaling pool.
  • Ran bin/worker flood --duration 3 and got some 3-second-long tasks to execute with bin/worker execute ....

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12331

Differential Revision: https://secure.phabricator.com/D17431

Details

Provenance
epriestleyAuthored on Feb 28 2017, 3:13 PM
epriestleyPushed on Feb 28 2017, 3:44 PM
Reviewer
chad
Differential Revision
D17431: Add "--pool" and "--duration" flags to daemon CLI tools
Parents
rPc8f5fb120573: (stable) Promote 2017 Week 8
Branches
Unknown
Tags
Unknown
Tasks
T12331: Taskmasters on `admin.phacility.com` are not scaling up correctly
Build Status
Buildable 15818
Build 20919: Run Core Tests