Merge "Finetune some of the prefetcher parameters to a) buffer as much as froyo did b) ensure that keepalives actually trigger a network read instead of just draining internal buffers" into gingerbread

This commit is contained in:
Andreas Huber
2010-06-25 11:03:42 -07:00
committed by Android (Google) Code Review

View File

@@ -49,8 +49,8 @@ private:
friend struct AHandlerReflector<NuCachedSource2>; friend struct AHandlerReflector<NuCachedSource2>;
enum { enum {
kPageSize = 16384, kPageSize = 65536,
kHighWaterThreshold = 3 * 1024 * 1024, kHighWaterThreshold = 5 * 1024 * 1024,
kLowWaterThreshold = 512 * 1024, kLowWaterThreshold = 512 * 1024,
// Read data after a 15 sec timeout whether we're actively // Read data after a 15 sec timeout whether we're actively