Page MenuHomePhabricator

Improve responsiveness of repository tracking for large numbers of repositories
Closed, ResolvedPublic

Description

  • Implement automatic backoff for infrequently-updated repositories.
  • Fire diffusion.looksoon from arc land.
  • Possibly parallelize this stuff a bit, or make it easier to launch multiple PullLocal daemons and have them work together.

Event Timeline

epriestley raised the priority of this task from to Normal.
epriestley updated the task description. (Show Details)
epriestley added a project: Diffusion.
epriestley added subscribers: epriestley, zeeg.

@dctrwatson hit a case where the pull daemon appeared to cache a repository configuration for 34 minutes. Although we reload repositories periodically, we should probably reload them explicitly before pulling too, to guarantee the smallest cache window we reasonably can. This isn't particularly expensive.

Combined, D8780 and D8782 should effectively fix the cache thing: the subprocess reloads the repository immediately before it updates it.

epriestley edited this Maniphest Task.
epriestley edited this Maniphest Task.
epriestley edited this Maniphest Task.
epriestley edited this Maniphest Task.