Skip to content

Commit

Permalink
Focus on the time instead of times.
Browse files Browse the repository at this point in the history
Because the previous explanation sounds like talking about the how
many time we will wait for the lock.
  • Loading branch information
otegami committed Dec 11, 2024
1 parent 1e91b21 commit ff87330
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions include/groonga/groonga.h
Original file line number Diff line number Diff line change
Expand Up @@ -602,9 +602,10 @@ grn_get_lock_timeout(void);
* Special cases for the `timeout` parameter:
* - **0**: If `timeout` is 0, Groonga will attempt to acquire the lock only
* once. If it fails, it will not retry and the operation will fail
* immediately.
* - **Negative value**: A negative `timeout` indicates that Groonga will
* retry acquiring the lock forever without timeout.
* immediately without waiting for the lock to be released.
* - **Negative value**: If `timeout` is negative value, Groonga will wait
* forever for retrying to acquire the lock without any timeout until it
* succeeds.
*
* The default lock timeout is 900,000 milliseconds (15 minutes).
*
Expand Down

0 comments on commit ff87330

Please sign in to comment.