Add a configuration entry for the qstore server. This entry will look just
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 6 Jul 2010 15:51:31 +0000 (15:51 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 6 Jul 2010 15:51:31 +0000 (15:51 +0000)
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

index 98fb60a..af9c045 100644 (file)
@@ -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>