We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9b5c1c commit b6cd917Copy full SHA for b6cd917
src/lib/world/src/importing.rs
@@ -14,6 +14,7 @@ use tokio::sync::Semaphore;
14
use tokio::task::JoinSet;
15
use tracing::{error, info};
16
17
+/// TODO: dynamically find the best accoring to the system
18
const BATCH_SIZE: usize = 1000; // Number of chunks to process before flushing
19
const MAX_CONCURRENT_TASKS: usize = 512; // Limit concurrent tasks to prevent memory issues
20
const FLUSH_INTERVAL: u64 = 10_000; // Flush every 10,000 chunks
0 commit comments