mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1168152 P5 Follow-up to use 32kb growth size as intended in previous patches. r=me
This commit is contained in:
parent
961d0686c7
commit
7b87fd76a7
2
dom/cache/DBSchema.cpp
vendored
2
dom/cache/DBSchema.cpp
vendored
@ -39,7 +39,7 @@ const int32_t kMaxEntriesPerStatement = 255;
|
||||
const uint32_t kPageSize = 4 * 1024;
|
||||
|
||||
// Grow the database in chunks to reduce fragmentation
|
||||
const uint32_t kGrowthSize = 64 * 1024;
|
||||
const uint32_t kGrowthSize = 32 * 1024;
|
||||
const uint32_t kGrowthPages = kGrowthSize / kPageSize;
|
||||
static_assert(kGrowthSize % kPageSize == 0,
|
||||
"Growth size must be multiple of page size");
|
||||
|
Loading…
Reference in New Issue
Block a user