Homec4science

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

Authored by epriestley <git@epriestley.com> on May 8 2012, 00:01.

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

Committed
epriestley <git@epriestley.com>May 8 2012, 00:01
Pushed
aubortJan 31 2017, 17:16
Parents
rPH8c6fa3e62dd5: Conduit user.query
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH1c62a35710e5: Run one daemon to pull all working copies, not one daemon per working copy (authored by epriestley <git@epriestley.com>).May 8 2012, 00:01