diff options
| author | jakka <jakkadoujin@gmail.com> | 2025-07-02 19:33:32 +0300 |
|---|---|---|
| committer | jakka <jakkadoujin@gmail.com> | 2025-07-02 19:33:32 +0300 |
| commit | e767a0b6b922f71e3813e269b2c6a1412f15ccd4 (patch) | |
| tree | d1f70893408e23bdbc0f3ab60eb60c5d0ddf5dd7 /src/main.rs | |
| parent | e38439f8012eabcd827c5abb7b7448a525feaf98 (diff) | |
made indexing single-threaded so db doesnt panic and no performance decrease
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 6d0a3d4..1363a77 100644 --- a/src/main.rs +++ b/src/main.rs @@ -111,7 +111,7 @@ fn main() -> Result<()> { if let Some(realpath) = path { let hanlder = running.clone(); - pool.install(|| files::index_files_recursively(realpath, &dbpool, hanlder))?; + files::index_files_recursively(realpath, &dbpool, hanlder)?; } if args.get_flag("clean") { |
