Skip to content

Commit

Permalink
Changed to full mutex for sqlite3 db handle due to random segmentatio…
Browse files Browse the repository at this point in the history
…n faults
  • Loading branch information
darrenldl committed Jan 5, 2025
1 parent 7395cfa commit bcb9848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sqlite3_utils.ml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let db_pool =
Task_pool.size
(fun () ->
db_open
~mutex:`NO
~mutex:`FULL
(CCOption.get_exn_or "Docfd_lib.Params.db_path uninitialized" !Params.db_path)
)

Expand Down

0 comments on commit bcb9848

Please sign in to comment.