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

Change-Id: Iaedfb5645e3052a63789244c90900573f8449bac
This commit is contained in:
Andreas Huber
2010-06-25 10:44:24 -07:00
parent 081bc5c47d
commit 909a8cf62c

View File

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