Skip to content

Commit

Permalink
Add the third option to configure the CMake option
Browse files Browse the repository at this point in the history
  • Loading branch information
otegami committed Dec 11, 2024
1 parent ff87330 commit 0431939
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/groonga/groonga.h
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,8 @@ grn_get_lock_timeout(void);
* **Lock Timeout Configuration**:
*
* Lock timeout can be configured in two ways:
* - **CMake Option**: Use `-DGRN_LOCK_TIMEOUT=<milliseconds>` when configuring
* the build with CMake to specify a default lock timeout by milliseconds.
* - **Environment Variable**: Set `GRN_LOCK_TIMEOUT` before running the program
* to specify a default lock timeout by milliseconds.
* - **API**: Use \ref grn_set_lock_timeout to override the environment variable
Expand Down

0 comments on commit 0431939

Please sign in to comment.