]> source.dussan.org Git - jgit.git/commit
Make streamFileThreshold configurable 01/70601/4
authorKevin Corcoran <kevin.corcoran@puppetlabs.com>
Wed, 13 Apr 2016 22:55:08 +0000 (15:55 -0700)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Mon, 24 Oct 2016 05:00:02 +0000 (14:00 +0900)
commitfa0a93119cd3bc6e2673be25a89b8d7638598f3d
treedd6776c12f35a16c0d8c3ce672d2ac02f9a09cd3
parent88f433be84e27468d9234b0305b97139d593c8a9
Make streamFileThreshold configurable

Previously, the streamFileThreshold, the threshold at which a file
would be streamed rather than loaded entirely into memory, was only
configurable on a global basis.

This commit makes this threshold configurable on a per-loader basis.

Bug: 490404
Change-Id: I492c18c3155dbf56eedda9044a61d76120fd75f9
Signed-off-by: Kevin Corcoran <kevin.corcoran@puppetlabs.com>
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/PackFileTest.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsReader.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/WindowCursor.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectReader.java