Skip to content

Commit

Permalink
Fixed search_chunk_size calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenldl committed Oct 11, 2023
1 parent 0257c37 commit 1912423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.ml
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ module Search = struct
)
in
let search_chunk_size =
possible_start_count / Task_pool.size
max 10 (possible_start_count / Task_pool.size)
in
possible_starts
|> CCList.chunks search_chunk_size
Expand Down

0 comments on commit 1912423

Please sign in to comment.