elif_orm/loading/batch_loader/
config.rs1#[derive(Debug, Clone)]
3pub struct BatchConfig {
4 pub max_batch_size: usize,
6 pub max_depth: usize,
8 pub parallel_execution: bool,
10 pub deduplicate_queries: bool,
12}
13
14impl Default for BatchConfig {
15 fn default() -> Self {
16 Self {
17 max_batch_size: 1000,
18 max_depth: 10,
19 parallel_execution: true,
20 deduplicate_queries: true,
21 }
22 }
23}
24
25#[derive(Debug)]
27pub struct CacheStats {
28 pub cached_queries: usize,
29 pub total_cached_records: usize,
30}