Skip to content

Commit b6cd917

Browse files
committed
todo
1 parent e9b5c1c commit b6cd917

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/world/src/importing.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ use tokio::sync::Semaphore;
1414
use tokio::task::JoinSet;
1515
use tracing::{error, info};
1616

17+
/// TODO: dynamically find the best accoring to the system
1718
const BATCH_SIZE: usize = 1000; // Number of chunks to process before flushing
1819
const MAX_CONCURRENT_TASKS: usize = 512; // Limit concurrent tasks to prevent memory issues
1920
const FLUSH_INTERVAL: u64 = 10_000; // Flush every 10,000 chunks

0 commit comments

Comments
 (0)