Last modified: 2009-04-22 05:17:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T20444, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18444 - Allow modification of default chunk size for low-use svn repositories
Allow modification of default chunk size for low-use svn repositories
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CodeReview (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Aaron Schulz
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-13 00:09 UTC by Simon Walker
Modified: 2009-04-22 05:17 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
CodeReview chunksize config variable (884 bytes, patch)
2009-04-13 00:09 UTC, Simon Walker
Details

Description Simon Walker 2009-04-13 00:09:27 UTC
Created attachment 6021 [details]
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.
Comment 1 Aaron Schulz 2009-04-22 05:17:38 UTC
$wgCodeReviewImportBatchSize added in r49728

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links