Page MenuHomePhabricator

Add new "Hardpoint" classes to support request parallelization
ClosedPublic

Authored by epriestley on Apr 8 2020, 3:47 PM.
Tags
None
Referenced Files
F13047546: D21071.diff
Thu, Apr 18, 1:49 PM
Unknown Object (File)
Thu, Apr 11, 9:27 AM
Unknown Object (File)
Sat, Mar 30, 9:12 AM
Unknown Object (File)
Tue, Mar 26, 1:46 AM
Unknown Object (File)
Mar 6 2024, 7:56 AM
Unknown Object (File)
Feb 8 2024, 6:38 PM
Unknown Object (File)
Feb 3 2024, 11:56 PM
Unknown Object (File)
Jan 15 2024, 5:51 AM
Subscribers
None

Details

Summary

Depends on D21070. Ref T11968. Adds "yield"-aware query classes for parallelizing service calls.

These will replace the similar (but not yield-aware) "Hardpoint" classes introduced previously. This is an API change but most of the old classes still exist and still do the same thing, just with more "yield" statements.

This just adds a bunch of new code with no callers and no API updates.

Test Plan

See future changes.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This also updates the XHPAST linter to target PHP 5.5 (see T13492); it complained about Generator otherwise.

This revision was not accepted when it landed; it landed in state Needs Review.Apr 8 2020, 4:23 PM
This revision was automatically updated to reflect the committed changes.