Changeset 8864


Ignore:
Timestamp:
1 Jul 2012, 14:42:16 (12 years ago)
Author:
uli
Message:

Commit all the cruel async stuff. Only for playing around, yet.

Location:
main/waeup.kofa/branches/uli-zc-async
Files:
3 added
8 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/uli-zc-async/buildout-zeo.cfg

    r8662 r8864  
    5050    </filestorage>
    5151  </blobstorage>
     52  <filestorage async>
     53    path ${zope_conf:filestorage}/Data.async.fs
     54  </filestorage>
    5255  <eventlog>
    5356    # This sets up logging to a file.
  • main/waeup.kofa/branches/uli-zc-async/etc/site.zcml.in

    r7904 r8864  
    55  <include package="waeup.kofa" />
    66  <include package="waeup.kofa" file="mail.zcml" />
     7  <!-- include package="zc.async" file="basic_dispatcher_policy.zcml" / -->
     8  <include package="zc.async" file="multidb_dispatcher_policy.zcml" />
    79
    810  <!-- Where should the datacenter reside by default? -->
  • main/waeup.kofa/branches/uli-zc-async/etc/zeo2.ini.in

    r8663 r8864  
    5454use = egg:Paste#http
    5555host = ${kofa_params:host}
    56 port = ${kofa_params:zeo1_port}
     56port = ${kofa_params:zeo2_port}
    5757threadpool_workers = ${kofa_params:threadpool_workers}
    5858use_threadpool = True
  • main/waeup.kofa/branches/uli-zc-async/etc/zope.conf.in

    r5495 r8864  
    2828</zodb>
    2929
     30<zodb async>
     31  <filestorage>
     32    # create true
     33    path ${zope_conf:filestorage}/Data.async.fs
     34  </filestorage>
     35</zodb>
     36
    3037<eventlog>
    3138  # This sets up logging to a file.
  • main/waeup.kofa/branches/uli-zc-async/etc/zope_zeo1.conf.in

    r8122 r8864  
    2626    server localhost:8100
    2727    storage 1
    28     # ZEO client cache, in bytes
     28     # ZEO client cache, in bytes
    2929    cache-size 20MB
    3030    # Uncomment to have a persistent disk cache
     
    6161</zodb>
    6262
     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_1:filestorage}/zeo1_async
     72  </zeoclient>
     73</zodb>
     74
    6375<eventlog>
    6476  # This sets up logging to a file.
  • main/waeup.kofa/branches/uli-zc-async/etc/zope_zeo2.conf.in

    r8122 r8864  
    6161</zodb>
    6262
     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_1:filestorage}/zeo2_async
     72  </zeoclient>
     73</zodb>
     74
     75
    6376<eventlog>
    6477  # This sets up logging to a file.
  • main/waeup.kofa/branches/uli-zc-async/setup.py

    r8492 r8864  
    3737    'zope.sendmail',
    3838    'ulif.loghandlers',
     39    'zc.async[z3]',
    3940    ],
    4041
  • main/waeup.kofa/branches/uli-zc-async/src/waeup/kofa/configure.zcml

    r8426 r8864  
    1717  <grok:grok package="." />
    1818
    19 
     19  <!-- include package="." file="async.zcml" / -->
    2020  <includeOverrides package="waeup.kofa.widgets" file="overrides.zcml" />
    2121  <includeOverrides package="waeup.kofa.utils" file="overrides.zcml" />
Note: See TracChangeset for help on using the changeset viewer.