source: main/waeup.futminna/trunk/etc/zope_zeo2.conf.in @ 9819

Last change on this file since 9819 was 9225, checked in by Henrik Bettermann, 12 years ago

Adjust configuration to trunk merged with uli-zc-async.

File size: 2.6 KB
RevLine 
[8035]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>
[8620]26    server localhost:7040
[8035]27    storage 1
28    # ZEO client cache, in bytes
29    cache-size 20MB
30    # Uncomment to have a persistent disk cache
[8133]31    client ${zope_conf_zeo_2:filestorage}/zeo2
[8035]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
[9225]63
64<zodb async>
65  <zeoclient>
66    server localhost:7040
67    storage async
68    name async
69    # ZEO client cache, in bytes
70    cache-size 20MB
71    # Uncomment to have a persistent disk cache
72    client ${zope_conf_zeo_2:filestorage}/zeo2_async
73  </zeoclient>
74</zodb>
75
[8035]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.