From addfcd2beadc0c657e6df923141a9d084fae6ffd Mon Sep 17 00:00:00 2001
From: scottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Tue, 6 Jul 2010 15:51:31 +0000
Subject: [PATCH] Add a configuration entry for the qstore server.  This entry
 will look just like the entry for open-ils.cstore, except:

1. The <implementation> is oils_qstore.so instead of oils_cstore.so, obviously.

2. There is no need (or use) for the max_query_recursion element.

M    Open-ILS/examples/opensrf.xml.example


git-svn-id: svn://svn.open-ils.org/ILS/trunk@16850 dcc99617-32d9-48b4-a31d-7c20da2025e4
---
 Open-ILS/examples/opensrf.xml.example | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/Open-ILS/examples/opensrf.xml.example b/Open-ILS/examples/opensrf.xml.example
index 98fb60a066..af9c045ba4 100644
--- a/Open-ILS/examples/opensrf.xml.example
+++ b/Open-ILS/examples/opensrf.xml.example
@@ -881,6 +881,35 @@ vim:et:ts=4:sw=4:
             </open-ils.pcrud>
 
 
+            <open-ils.qstore>
+                <keepalive>6</keepalive>
+                <stateless>1</stateless>
+                <language>C</language>
+                <implementation>oils_qstore.so</implementation>
+                <max_requests>200</max_requests>
+                <unix_config>
+                    <max_requests>1000</max_requests>
+                    <min_children>1</min_children>
+                    <max_children>15</max_children>
+                    <min_spare_children>1</min_spare_children>
+                    <max_spare_children>5</max_spare_children>
+                </unix_config>
+                <app_settings>
+                    <driver>pgsql</driver>
+                    <database>
+                        <type>master</type>
+                        <weight>2</weight>
+                        <user>postgres</user>
+                        <host>localhost</host>
+                        <port>5432</port>
+                        <pw>postgres</pw>
+                        <db>evergreen</db>
+                        <client_encoding>UTF-8</client_encoding>
+                    </database>
+                </app_settings>
+            </open-ils.qstore>
+
+
             <opensrf.settings>
                 <keepalive>1</keepalive>
                 <stateless>1</stateless>
-- 
2.11.0