Differential D21790 Diff 51946 src/infrastructure/daemon/workers/management/PhabricatorWorkerManagementFloodWorkflow.php
Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/daemon/workers/management/PhabricatorWorkerManagementFloodWorkflow.php
<?php | <?php | ||||
final class PhabricatorWorkerManagementFloodWorkflow | final class PhabricatorWorkerManagementFloodWorkflow | ||||
extends PhabricatorWorkerManagementWorkflow { | extends PhabricatorWorkerManagementWorkflow { | ||||
protected function didConstruct() { | protected function didConstruct() { | ||||
$this | $this | ||||
->setName('flood') | ->setName('flood') | ||||
->setExamples('**flood**') | ->setExamples('**flood**') | ||||
->setSynopsis( | ->setSynopsis( | ||||
pht( | pht( | ||||
'Flood the queue with test tasks. This command is intended for '. | 'Flood the queue with test tasks. This command is intended for '. | ||||
'use when developing and debugging Phabricator.')) | 'use during development and debugging.')) | ||||
->setArguments( | ->setArguments( | ||||
array( | array( | ||||
array( | array( | ||||
'name' => 'duration', | 'name' => 'duration', | ||||
'param' => 'seconds', | 'param' => 'seconds', | ||||
'help' => pht( | 'help' => pht( | ||||
'Queue tasks which require a specific amount of wall time to '. | 'Queue tasks which require a specific amount of wall time to '. | ||||
'complete. By default, tasks complete as quickly as possible.'), | 'complete. By default, tasks complete as quickly as possible.'), | ||||
Show All 29 Lines |