source: main/waeup.kofa/branches/0.2/etc/zope_zeo2.conf.in @ 17367

Last change on this file since 17367 was 9217, checked in by uli, 12 years ago

Merge changes from uli-async-update back into trunk.

File size: 2.6 KB
Line 
1# Identify the component configuration used to define the site:
2site-definition ${site_zcml:output}
3
4<zodb>
5
6  #cache-size
7
8  # num of concurrent pre-opened ZODB threads; default: 7
9  pool-size 7
10
11  # Standard blob storage
12#  <blobstorage>
13#    blob-dir ${zope_conf:blobstorage}
14#    <filestorage>
15#      path ${zope_conf:filestorage}/Data.fs
16#    </filestorage>
17#  </blobstorage>
18
19# Uncomment this if you want a blob-less standard file storage instead:
20#  <filestorage>
21#       path ${zope_conf:filestorage}
22#  </filestorage>
23
24# Uncomment this if you want to connect to a ZEO server instead:
25  <zeoclient>
26    server localhost:8100
27    storage 1
28    # ZEO client cache, in bytes
29    cache-size 20MB
30    # Uncomment to have a persistent disk cache
31    client ${zope_conf_zeo_2:filestorage}/zeo2
32  </zeoclient>
33
34# Uncomment this if you want to run a ZEO server instead:
35#  <zeo>
36#    # required; 'host:port' for TCP/IP, path to a socket file for UDP
37#    address localhost:8090
38#
39#    # optional; 'address' remarks apply
40#    #monitor-address localhost:8091
41#
42#    # optional; keep queue of last N transactions. Speeds up client cache verif.
43#    #invalidation-queue-size 10
44#
45#    # optional; is this a read-only instance? true or false
46#    #read-only false
47#
48#    # optional; seconds to wait for client to commit after acquiring lock
49#    #transaction-timeout 20
50#
51#    # optional; authentication protocol. With ZEO only 'digest' supported
52#    #authentication-protocol digest
53#
54#    # optional; Path of the database containing authentication credentials.
55#    #authentication-database
56#
57#    # optional; the authentication realm of server
58#    #authentication-realm myrealm
59#  </zeo>
60
61</zodb>
62
63<zodb async>
64  <zeoclient>
65    server localhost:8100
66    storage async
67    name async
68    # ZEO client cache, in bytes
69    cache-size 20MB
70    # Uncomment to have a persistent disk cache
71    client ${zope_conf_zeo_2:filestorage}/zeo2_async
72  </zeoclient>
73</zodb>
74
75
76<eventlog>
77  # This sets up logging to a file.
78  # The "path" setting can be a relative or absolute
79  # filesystem path.
80
81  <logfile>
82    path ${zope_conf:logfiles}/zeo2_z3.log
83    formatter zope.exceptions.log.Formatter
84  </logfile>
85
86  # This sets up logging to to standard output.
87  # The "path" setting can be the tokens STDOUT or STDERR
88 
89#  <logfile>
90#    path STDOUT
91#    formatter zope.exceptions.log.Formatter
92#  </logfile>
93</eventlog>
94
95# Comment this line to disable developer mode.  This should be done in
96# production
97#devmode on
98
99# Extra configuration lines can be added to zope_conf's extra option. Put for
100# instance productconf sections in here.
101${zope_conf:extra}
Note: See TracBrowser for help on using the repository browser.