Page MenuHomePhabricator

Allow PhabricatorWorker->queueTask() to take full $options
ClosedPublic

Authored by epriestley on Oct 5 2015, 3:29 PM.
Tags
None
Referenced Files
F18778552: D14235.id34373.diff
Sat, Oct 11, 9:54 AM
F18652487: D14235.diff
Sep 21 2025, 8:12 AM
F18650531: D14235.diff
Sep 21 2025, 12:57 AM
F18506574: D14235.id.diff
Sep 5 2025, 1:36 AM
F18499183: D14235.diff
Sep 4 2025, 7:30 PM
F18195443: D14235.diff
Aug 17 2025, 3:48 PM
F18161339: D14235.id34373.diff
Aug 15 2025, 3:00 AM
F17939256: D14235.id34373.diff
Jul 31 2025, 2:59 AM
Subscribers
None

Details

Summary

Ref T9252. Currently, queueTask() accepts $priority as its third argument. Allow it to take a full range of $options instead. This API just never got updated after we expanded avialable options.

Arguably this whole API should be some kind of "TaskQueueRequest" object but I'll leave that for another day.

Test Plan
  • Grepped for queueTask() and verified no other callsites are affected by this API change.
  • Ran some daemons.
  • See also next diff.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Allow PhabricatorWorker->queueTask() to take full $options.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: chad, hach-que.
hach-que edited edge metadata.
This revision is now accepted and ready to land.Oct 5 2015, 3:36 PM
chad edited edge metadata.
___________ < amazing > ----------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
This revision was automatically updated to reflect the committed changes.