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:
committed by
Android (Google) Code Review
commit
357f8209f3
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user