mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-10 18:54:22 +01:00
Increase test arena size and fix import
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 = 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
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
use std::{
|
||||
collections::{HashMap, HashSet},
|
||||
path::Path,
|
||||
pin::Pin,
|
||||
rc::Rc,
|
||||
sync::Arc,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user