Changeset 8662


Ignore:
Timestamp:
9 Jun 2012, 10:05:29 (13 years ago)
Author:
uli
Message:

Start setting main parameters in one buildout section.

Location:
main/waeup.kofa/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/buildout-zeo.cfg

    r8007 r8662  
    4242zeo.conf =
    4343  <zeo>
    44     address 8100
     44    address ${kofa_params:server_port}
    4545  </zeo>
    4646  <blobstorage 1>
  • main/waeup.kofa/trunk/buildout.cfg

    r8357 r8662  
    3030# (see .buildout/default.cfg in your home directory)
    3131# unless you specify an eggs-directory option here.
     32
     33[kofa_params]
     34## Basic parameters for deployment.
     35# default is 127.0.0.1
     36host = 0.0.0.0
     37# default is 8080
     38base_port = 8080
     39zeo1_port = 8080
     40zeo2_port = 8081
     41zeo3_port = 8082
     42server_port = 8100
     43# default 7. Number of pre-opened ZODB threads/client
     44pool_size = 7
     45# default 20MB. Cache size of each client (ZEO only)
     46client_cache = 20MB
     47# default 5000. Number of objects cached.
     48object_cache = 5000
     49# number of preopened paster threads, default 10
     50threadpool_workers = 10
    3251
    3352[app]
  • main/waeup.kofa/trunk/etc/debug.ini.in

    r7808 r8662  
    6060[server:main]
    6161use = egg:Paste#http
    62 host = 0.0.0.0
    63 port = 8080
     62host = ${kofa_params:host}
     63port = ${kofa_params:base_port}
    6464
    6565[DEFAULT]
  • main/waeup.kofa/trunk/etc/deploy.ini.in

    r7808 r8662  
    5353[server:main]
    5454use = egg:Paste#http
    55 host = 0.0.0.0
    56 port = 8080
     55host = ${kofa_params:host}
     56port = ${kofa_params:base_port}
    5757
    5858[DEFAULT]
  • main/waeup.kofa/trunk/etc/profile.ini.in

    r7808 r8662  
    5959[server:main]
    6060use = egg:Paste#http
    61 host = 0.0.0.0
    62 port = 8080
     61host = ${kofa_params:host}
     62port = ${kofa_params:base_port}
    6363
    6464[DEFAULT]
  • main/waeup.kofa/trunk/etc/zeo1.ini.in

    r8007 r8662  
    5353[server:main]
    5454use = egg:Paste#http
    55 host = 0.0.0.0
    56 port = 8081
    57 threadpool_workers = 50
     55host = ${kofa_params:host}
     56port = ${kofa_params:zeo1_port}
     57threadpool_workers = ${kofa_params:threadpool_workers}
    5858use_threadpool = True
    5959
Note: See TracChangeset for help on using the changeset viewer.