Index: trunk/extensions/CodeReview/svnImport.php |
— | — | @@ -20,7 +20,7 @@ |
21 | 21 | $svn = SubversionAdaptor::newFromRepo( $repo->getPath() ); |
22 | 22 | $lastStoredRev = $repo->getLastStoredRev(); |
23 | 23 | |
24 | | -$chunkSize = 200; |
| 24 | +$chunkSize = 400; |
25 | 25 | |
26 | 26 | $startTime = microtime( true ); |
27 | 27 | $revCount = 0; |
— | — | @@ -63,6 +63,7 @@ |
64 | 64 | $codeRev->mAuthor, |
65 | 65 | $revSpeed ); |
66 | 66 | } |
| 67 | + wfWaitForSlaves( 5 ); |
67 | 68 | } |
68 | 69 | |
69 | 70 | echo "Pre-caching the latest 50 diffs...\n"; |