Skip to content

Commit

Permalink
Updated dev comments
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenldl committed May 13, 2024
1 parent 1dc7cfa commit 175baf7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions bin/search_manager.ml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,12 @@ let manager_fiber () =
done

let search_fiber pool =
(* This fiber is run in a background domain to allow UI fiber in main domain
to continue running after key presses that trigger searches or search
cancellations.
(* This fiber runs in a background domain to allow the UI code in the main
domain to immediately continue running after key presses that trigger
searches or search cancellations.
This is mainly to remove the need to structure document store operations
to always yield frequently.
*)
while true do
let (s, document_store, document_store_var) = Eio.Stream.take ingress in
Expand Down

0 comments on commit 175baf7

Please sign in to comment.