Changeset 8773 for main


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

Set main parameters in one buildout section.

Location:
main
Files:
9 edited

Legend:

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

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

    r8620 r8773  
    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 = 7041
     39zeo1_port = 7041
     40zeo2_port = 7042
     41zeo3_port = 7043
     42server_port = 7040
     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.futminna/trunk/etc/debug.ini.in

    r8620 r8773  
    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.futminna/trunk/etc/deploy.ini.in

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

    r8620 r8773  
    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.futminna/trunk/etc/zeo1.ini.in

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

    r8620 r8773  
    5353[server:main]
    5454use = egg:Paste#http
    55 host = 0.0.0.0
    56 port = 7042
    57 threadpool_workers = 50
     55host = ${kofa_params:host}
     56port = ${kofa_params:zeo2_port}
     57threadpool_workers = ${kofa_params:threadpool_workers}
    5858use_threadpool = True
    5959
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py

    r8767 r8773  
    119119        return appcats_dict[value][0]
    120120
    121 # Maybe Uniben still needs this ...
     121# Maybe FUTMinna still needs this ...
    122122#class ApplicationPinSource(BasicContextualSourceFactory):
    123123#    """An application pin source delivers PIN prefixes for application
     
    203203        )
    204204
    205     # Maybe Uniben still needs this ...
     205    # Maybe FUTMinna still needs this ...
    206206    #ac_prefix = schema.Choice(
    207207    #    title = u'Activation code prefix',
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/root.py

    r8742 r8773  
    8686            #        logger.info(
    8787            #            '%s: %s added to root.' % (self.log_prefix,i[0]))
    88             # can be removed after upgrading uniben
     88            # can be removed after upgrading futminna
    8989            #if not hasattr(app_folder, 'description_dict'):
    9090            #    nothing_to_do = False
Note: See TracChangeset for help on using the changeset viewer.