HomePhorge

Run one daemon to pull all working copies, not one daemon per working copy

Description

Run one daemon to pull all working copies, not one daemon per working copy

Summary:
Allow the pull daemon to take a list of repositories. By default, pull all repositories.

Make some effort to respect pull frequencies, although we'll necessarily suffer a bit if running with only one process.

NOTE: We still launch one discovery daemon per working copy, so this only cuts the daemon count in half.

Test Plan:

  • Ran phd debug pulllocal, verified behavior.
  • Ran pull.php P MTEST SVNTEST --trace, verified it pulled the repos and ran the right commands.
  • Ran phd repository-launch-master, verified the right daemons launched, checked daemon console.
  • Ran phd repository-launch-readonly, verified the right daemon launched, checked daemon console.

Reviewers: btrahan, csilvers, davidreuss

Reviewed By: csilvers

CC: aran

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

Details

Provenance
epriestleyAuthored on May 7 2012, 3:01 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP8c6fa3e62dd5: Conduit user.query
Branches
Unknown
Tags
Unknown

Event Timeline