Page MenuHomePhabricator

Allow modification of default chunk size for low-use svn repositories
Closed, ResolvedPublic

Description

CodeReview chunksize config variable

For svn repositories where the commit rate is fairly low, a chunk size of 400 is probably way to big to begin with. If the svnImport script is run every 10 minutes or so, then a chunk size of 20 is probably still too big. However, for larger setups, a chunk size of 400 is probably more useful.

The solution to this is to make the chunk size configurable, by adding an option $wgCodeReviewImportChunkSize, by default at 400 (the original value). This will allow other users of CodeReview to customize the maximum number of revisions to be pulled in each update.


Version: unspecified
Severity: enhancement

Attached:

Details

Reference
bz18444

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:35 PM
bzimport set Reference to bz18444.

$wgCodeReviewImportBatchSize added in r49728