Page MenuHomePhabricator

Allow worker tasks to be cancelled by classname
ClosedPublic

Authored by epriestley on Jul 11 2016, 2:21 PM.
Tags
None
Referenced Files
F13088179: D16267.diff
Thu, Apr 25, 1:19 AM
F13087540: D16267.diff
Thu, Apr 25, 1:00 AM
F13081188: D16267.id.diff
Wed, Apr 24, 3:47 PM
Unknown Object (File)
Sat, Apr 20, 3:23 PM
Unknown Object (File)
Sat, Apr 20, 4:08 AM
Unknown Object (File)
Mon, Apr 15, 10:37 PM
Unknown Object (File)
Thu, Apr 11, 11:34 PM
Unknown Object (File)
Thu, Apr 4, 2:31 AM
Subscribers
None

Details

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.

Diff Detail

Repository
rP Phabricator
Branch
perm1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 13013
Build 16625: Run Core Tests
Build 16624: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Allow worker tasks to be cancelled by classname.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jul 11 2016, 2:54 PM
This revision was automatically updated to reflect the committed changes.