Page MenuHomePhabricator

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

Authored by epriestley on Oct 5 2015, 3:29 PM.
Tags
None
Referenced Files
F19823951: D14235.id34375.diff
Sat, Mar 7, 5:24 PM
F19700959: D14235.diff
Tue, Feb 10, 9:56 PM
F19035074: D14235.diff
Nov 25 2025, 3:58 PM
F19019165: D14235.diff
Nov 23 2025, 1:41 PM
F19005112: D14235.id34375.diff
Nov 21 2025, 1:59 PM
F18997345: D14235.diff
Nov 20 2025, 11:51 AM
F18952986: D14235.id.diff
Nov 12 2025, 6:50 AM
F18846396: D14235.diff
Oct 29 2025, 6:44 PM
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
Branch
dock1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 8184
Build 9354: Run Core Tests
Build 9353: arc lint + arc unit

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.