Changeset 8772


Ignore:
Timestamp:
21 Jun 2012, 05:40:13 (13 years ago)
Author:
Henrik Bettermann
Message:

Set main parameters in one buildout section.

Location:
main/waeup.fceokene/trunk
Files:
7 edited

Legend:

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

    r8460 r8772  
    4242zeo.conf =
    4343  <zeo>
    44     address 7030
     44    address ${kofa_params:server_port}
    4545  </zeo>
    4646  <blobstorage 1>
  • main/waeup.fceokene/trunk/buildout.cfg

    r8460 r8772  
    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 = 7031
     39zeo1_port = 7031
     40zeo2_port = 7032
     41zeo3_port = 7033
     42server_port = 7030
     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.fceokene/trunk/etc/debug.ini.in

    r8461 r8772  
    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.fceokene/trunk/etc/deploy.ini.in

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

    r8461 r8772  
    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.fceokene/trunk/etc/zeo1.ini.in

    r8461 r8772  
    5353[server:main]
    5454use = egg:Paste#http
    55 host = 0.0.0.0
    56 port = 7031
    57 threadpool_workers = 50
     55host = ${kofa_params:host}
     56port = ${kofa_params:zeo1_port}
     57threadpool_workers = ${kofa_params:threadpool_workers}
    5858use_threadpool = True
    5959
  • main/waeup.fceokene/trunk/etc/zeo2.ini.in

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