Allow to set stub read buffer size for TextPassDumper
authorChristian Aistleitner <christian@quelltextlich.at>
Thu, 19 Feb 2015 23:13:07 +0000 (00:13 +0100)
committerChristian Aistleitner <christian@quelltextlich.at>
Thu, 19 Feb 2015 23:56:39 +0000 (00:56 +0100)
commit7f687cc858ed664a0e614f93b461d874f1cd1ef2
treeddb15c35fcfc0f6d775b7d69c906177374fd5e1b
parent85d6495c9adc8e8eb3f914ff600cfd89e71d16f1
Allow to set stub read buffer size for TextPassDumper

The default buffer size of 512KB seems to unconveniently high for
checkpoint tests. To be able to speed up tests in a follow-up commit,
we allow callers to set the buffer size to use for reads of the stub.

Bug: T70653
Change-Id: Ib63e89fac2abaac8feb542839d4d8e53c917ebe1
maintenance/backupTextPass.inc
maintenance/dumpTextPass.php
tests/phpunit/maintenance/backupTextPassTest.php