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
F15412512: D16267.id39134.diff
Wed, Mar 19, 1:23 PM
F15406111: D16267.id.diff
Tue, Mar 18, 12:08 PM
F15386410: D16267.id39134.diff
Sat, Mar 15, 12:31 AM
Unknown Object (File)
Feb 22 2025, 9:33 AM
Unknown Object (File)
Feb 22 2025, 8:19 AM
Unknown Object (File)
Feb 22 2025, 1:06 AM
Unknown Object (File)
Feb 21 2025, 9:53 PM
Unknown Object (File)
Feb 16 2025, 7:05 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.