am 357f8209: 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
Merge commit '357f8209f3aec63fa2779da4eeab8825f80b0a41' into gingerbread-plus-aosp * commit '357f8209f3aec63fa2779da4eeab8825f80b0a41': 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
This commit is contained in:
@@ -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