HomePhabricator

remotefilelog: limit number of changesets to be prefetched

Authored by ms2316.

Description

remotefilelog: limit number of changesets to be prefetched

Summary:
Added config option 'prefetchdays' which indicates that commits older than
'prefetchdays' days should not be prefetched. This option is necessary to avoid
prefetch of huge amount of data. The default value is set to 14 days.

Test Plan: Ensure that unit tests pass

Reviewers: ryanmce, simonfar, durham, #fbhgext, simpkins

Reviewed By: #fbhgext, simpkins

Subscribers: simpkins

Differential Revision: https://phab.mercurial-scm.org/D420

Details

Committed
ms2316Aug 16 2017, 4:21 PM
Reviewer
Restricted Project
Differential Revision
D420: remotefilelog: limit number of changesets to be prefetched
Parents
rFBHGX5ca093c4ddcf: remotefilelog: flaky bgprefetch test fix
Branches
Unknown
Tags
Unknown