Changeset 8770 for main


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

Set main parameters in one buildout section.

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

Legend:

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

    r8061 r8770  
    4242zeo.conf =
    4343  <zeo>
    44     address 7010
     44    address ${kofa_params:server_port}
    4545  </zeo>
    4646  <blobstorage 1>
  • main/waeup.uniben/trunk/buildout.cfg

    r8699 r8770  
    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 = 7011
     39zeo1_port = 7011
     40zeo2_port = 7012
     41zeo3_port = 7013
     42server_port = 7010
     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.uniben/trunk/etc/debug.ini.in

    r8020 r8770  
    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.uniben/trunk/etc/deploy.ini.in

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

    r8701 r8770  
    6464[server:main]
    6565use = egg:Paste#http
    66 host = 0.0.0.0
    67 port = 8080
     66host = ${kofa_params:host}
     67port = ${kofa_params:base_port}
    6868
    6969[DEFAULT]
  • main/waeup.uniben/trunk/etc/zeo1.ini.in

    r8061 r8770  
    5353[server:main]
    5454use = egg:Paste#http
    55 host = 0.0.0.0
    56 port = 7011
    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.uniben/trunk/etc/zeo2.ini.in

    r8061 r8770  
    5353[server:main]
    5454use = egg:Paste#http
    55 host = 0.0.0.0
    56 port = 7012
    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.