[Groonga-commit] groonga/groonga at 6018f0f [master] Document about 0 and negative value for lock timeout

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Jan 7 12:53:47 JST 2014


Kouhei Sutou	2014-01-07 12:53:47 +0900 (Tue, 07 Jan 2014)

  New Revision: 6018f0fb51497492d70bd4ad06946ba21295ee1f
  https://github.com/groonga/groonga/commit/6018f0fb51497492d70bd4ad06946ba21295ee1f

  Message:
    Document about 0 and negative value for lock timeout

  Modified files:
    doc/source/reference/api/global_configurations.txt

  Modified: doc/source/reference/api/global_configurations.txt (+7 -0)
===================================================================
--- doc/source/reference/api/global_configurations.txt    2014-01-07 10:27:42 +0900 (2140b5b)
+++ doc/source/reference/api/global_configurations.txt    2014-01-07 12:53:47 +0900 (a9cca65)
@@ -38,5 +38,12 @@ Reference
 
    See :c:function:`grn_get_lock_timeout` about lock timeout.
 
+   There are some special values for ``timeout``.
+
+     * ``0``: It means that Groonga doesn't retry acquiring a lock.
+       Groonga reports a failure after one lock acquirement failure.
+     * negative value: It means that Groonga retries acquiring a lock
+       until Groonga can acquire a lock.
+
    :param timeuot: The new lock timeout.
    :return: ``GRN_SUCCESS``. It doesn't fail.
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index