couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [29/32] git commit: updated refs/heads/1781-reorganize-and-improve-docs to 11fd32a
Date Fri, 14 Jun 2013 08:25:26 GMT
Add query_server_config options description.


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/6da1aa55
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/6da1aa55
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/6da1aa55

Branch: refs/heads/1781-reorganize-and-improve-docs
Commit: 6da1aa556d95572cdc365dc4d42d96658e36cc3b
Parents: ba62192
Author: Alexander Shorin <kxepal@apache.org>
Authored: Wed Jun 12 16:54:52 2013 +0400
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Fri Jun 14 12:10:26 2013 +0400

----------------------------------------------------------------------
 share/doc/src/config/query-servers.rst | 51 +++++++++++++++++++++++++++--
 1 file changed, 49 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/6da1aa55/share/doc/src/config/query-servers.rst
----------------------------------------------------------------------
diff --git a/share/doc/src/config/query-servers.rst b/share/doc/src/config/query-servers.rst
index 1ea2416..25bca31 100644
--- a/share/doc/src/config/query-servers.rst
+++ b/share/doc/src/config/query-servers.rst
@@ -14,8 +14,8 @@
 
 .. _config/query_servers:
 
-``[query_servers]`` :: Query Servers Configuration
-==================================================
+``[query_servers]`` :: Query Servers Definition
+===============================================
 
 .. versionchanged:: 1.2: Added CoffeeScript query server
 
@@ -60,3 +60,50 @@ running via `Mozilla SpiderMonkey`_::
    :ref:`Native Erlang Query Server <config/native_query_servers>` that allows
    to process Erlang `ddocs` and runs within CouchDB bypassing stdio
    communication and JSON serialization/deserialization round trip overhead.
+
+
+.. _config/query_server_config:
+
+``[query_server_config]`` :: Query Servers Configuration
+========================================================
+
+
+.. _config/query_server_config/commit_freq:
+
+``commit_freq`` :: View index commit delay
+------------------------------------------
+
+Specifies delay in seconds (``5`` by default) before commit view index changes
+on disk::
+
+  [query_server_config]
+  commit_freq = 5
+
+
+.. _config/query_server_config/os_process_limit:
+
+``os_process_limit`` :: Query Server operation timeout
+------------------------------------------------------
+
+Amount of time in seconds that the Query Server may process CouchDB command::
+
+  [query_server_config]
+  os_process_limit = 10
+
+CouchDB will raise `os_process_timeout` error and kill the process in case when
+Query Server doesn't return any result within this time frame.
+
+
+.. _config/query_server_config/reduce_limit:
+
+``reduce_limit`` :: Reduce limit control
+----------------------------------------
+
+Controls `Reduce overflow` error that raises when output of
+:ref:`reduce functions <reducefun>` is too big::
+
+  [query_server_config]
+  reduce_limit = true
+
+Normally, you don't have to disable (by setting ``false`` value) this option
+since main propose of `reduce` functions is to *reduce* the input.


Mime
View raw message