Increase test arena size and fix import

This commit is contained in:
PThorpe92
2025-08-04 21:41:56 -04:00
parent 39d230a899
commit f9df267f42
2 changed files with 1 additions and 2 deletions

View File

@@ -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 = 512 * 1024; // 512KB arena for testing
pub const TEST_AREA_SIZE: usize = 1 * 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

View File

@@ -1,7 +1,6 @@
use std::{
collections::{HashMap, HashSet},
path::Path,
pin::Pin,
rc::Rc,
sync::Arc,
};