aboutsummaryrefslogtreecommitdiff
path: root/src/index.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.rs')
-rw-r--r--src/index.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.rs b/src/index.rs
index 5d420db..368697d 100644
--- a/src/index.rs
+++ b/src/index.rs
@@ -46,7 +46,7 @@ impl Index {
}
pub fn generate(input_path : &str, callback : impl Fn(GenState, u8)) -> Self {
- let mut nof = 0;
+ let mut nof = 1;
let mut counter = 0;
let mut crawler_handles = Vec::new();
let num_threads = thread::available_parallelism().unwrap().get().min(4);