mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-06 09:44:21 +01:00
Actually pre-register two arenas with the ring
This commit is contained in:
@@ -103,7 +103,7 @@ impl Default for BufferPool {
|
||||
|
||||
impl BufferPool {
|
||||
pub const DEFAULT_ARENA_SIZE: usize = 4 * 1024 * 1024; // 4MB arena
|
||||
pub const TEST_AREA_SIZE: usize = 1 * 1024 * 1024; // 1MB arena for testing
|
||||
pub const TEST_AREA_SIZE: usize = 1024 * 1024; // 1MB arena for testing
|
||||
pub const DEFAULT_PAGE_SIZE: usize = 4096; // 4KB default page size
|
||||
const MAX_ARENA_SIZE: usize = 32 * 1024 * 1024; // 32MB max arena
|
||||
|
||||
|
||||
Reference in New Issue
Block a user