mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-06-08 05:29:36 +00:00
#483: wrong way on purple buffer (otherwise OOMs result)
This commit is contained in:
parent
366e20af50
commit
9143ede148
|
@ -125,7 +125,7 @@ static const uint32_t kMaxICCDuration = 2000; // ms
|
|||
// Force a CC after this long if there's more than NS_CC_FORCED_PURPLE_LIMIT
|
||||
// objects in the purple buffer.
|
||||
#define NS_CC_FORCED (2 * 60 * PR_USEC_PER_SEC) // 2 min
|
||||
#define NS_CC_FORCED_PURPLE_LIMIT 20
|
||||
#define NS_CC_FORCED_PURPLE_LIMIT 9
|
||||
|
||||
// Don't allow an incremental GC to lock out the CC for too long.
|
||||
#define NS_MAX_CC_LOCKEDOUT_TIME (30 * PR_USEC_PER_SEC) // 30 seconds
|
||||
|
|
Loading…
Reference in New Issue
Block a user