Changeset 8771 for main/waeup.aaue/trunk


Ignore:
Timestamp:
21 Jun 2012, 05:35:27 (12 years ago)
Author:
Henrik Bettermann
Message:

Set main parameters in one buildout section.

Location:
main/waeup.aaue/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk

  • main/waeup.aaue/trunk/buildout-zeo.cfg

    r8451 r8771  
    4242zeo.conf =
    4343  <zeo>
    44     address 7020
     44    address ${kofa_params:server_port}
    4545  </zeo>
    4646  <blobstorage 1>
  • main/waeup.aaue/trunk/buildout.cfg

    r8446 r8771  
    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 = 7021
     39zeo1_port = 7021
     40zeo2_port = 7022
     41zeo3_port = 7023
     42server_port = 7020
     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.aaue/trunk/etc/debug.ini.in

    r8447 r8771  
    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.aaue/trunk/etc/deploy.ini.in

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

    r8447 r8771  
    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.aaue/trunk/etc/zeo1.ini.in

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

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