Homec4science

Allow worker tasks to be cancelled by classname

Authored by epriestley <git@epriestley.com> on Jul 11 2016, 16:18.

Description

Allow worker tasks to be cancelled by classname

Summary:
Ref T3554. Makes bin/worker cancel --class <classname> work (cancel all tasks with that type).

This is useful in development if your queue is full of a bunch of gunk, and a need has occasionally arisen in production environments (usually "one option is cancel everything and move on").

Test Plan: Ran bin/worker cancel to cancel blocks of tasks by class name.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T3554

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

Details

Committed
epriestley <git@epriestley.com>Jul 11 2016, 18:21
Pushed
aubortJan 31 2017, 17:16
Parents
rPHc21be4849f8d: By default, do not save queries when executing Conduit "*.search" calls
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHc510c925cf87: Allow worker tasks to be cancelled by classname (authored by epriestley <git@epriestley.com>).Jul 11 2016, 18:21