Fixes T5242. Add a --background option to the ./bin/repository parents workflow such that the heavy lifting will be handled by a PhabricatorWorker in the task queue.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T5242: `./bin/repository parents` should provide a `--background` option.
Not yet tested.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- repo_parents-background
- Lint
Lint Passed - Unit
Tests Skipped - Build Status
Buildable 824 Build 824: [Placeholder Plan] Wait for 30 Seconds
Event Timeline
Comment Actions
Can we just batch all the queries instead? Instead of running the deletes/inserts inline, queue them into $delete_sql and $insert_sql, then execute them in chunks. And maybe even batch the selects. I'd guess that will make this run many hundreds of times faster, not require all the daemon complexity and overhead, and be better for everyone.