Homestyx hydra
Diffusion hydra 82cf97ad65a9

When many commits are discovered at once, import them at lower priority

Description

When many commits are discovered at once, import them at lower priority

Summary:
Ref T13369. See that task for discussion.

When the discovery daemon finds more than 64 commits to import, demote the worker queue priority of the resulting tasks.

Test Plan:

  • Pushed one commit, ran bin/repository discover --verbose --trace ..., saw commit import with "at normal priority" message and priority 2500 ("PRIORITY_COMMIT").
  • Pushed 3 commits, set threshold to 3, ran bin/repository discover ..., saw commist import with "at lower priority" message and priority 4000 ("PRIORITY_IMPORT").

Maniphest Tasks: T13369

Differential Revision: https://secure.phabricator.com/D20712

Details

Provenance
epriestleyAuthored on Aug 12 2019, 3:07 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:006cb659cbf1: Make the success message from "bin/config" more clear
Branches
Unknown
Tags
Unknown

Event Timeline