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 0b01b3f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/groonga/groonga.h
Original file line number Diff line number Diff line change
Expand Up @@ -612,10 +612,10 @@ grn_get_lock_timeout(void);
* **Lock Timeout Configuration**:
*
* Lock timeout can be configured in two ways:
* - **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
* setting at runtime.
* - **CMake Option**: Use `-DGRN_LOCK_TIMEOUT=<milliseconds>` when configuring
* the build with CMake to specify a default lock timeout by milliseconds.
* - **API**: Use \ref grn_set_lock_timeout to override the default setting at
* runtime.
*
* \param timeout The new lock timeout in milliseconds.
*
Expand Down

0 comments on commit 0b01b3f

Please sign in to comment.