etwist/twconfig.py
changeset 7644 7a0914469618
parent 6844 5ae2bc554c23
child 8669 62213a34726e
equal deleted inserted replaced
7643:f3e3892fc7e3 7644:7a0914469618
    88           # pyro is only a recommends by default, so don't activate it here
    88           # pyro is only a recommends by default, so don't activate it here
    89           'default': False,
    89           'default': False,
    90           'help': 'run a pyro server',
    90           'help': 'run a pyro server',
    91           'group': 'main', 'level': 1,
    91           'group': 'main', 'level': 1,
    92           }),
    92           }),
       
    93         ('webserver-threadpool-size',
       
    94          {'type': 'int',
       
    95           'default': 4,
       
    96           'help': "size of twisted's reactor threadpool. It should probably be not too \
       
    97 much greater than connection-poolsize",
       
    98           'group': 'web', 'level': 3,
       
    99           }),
    93         ) + WebConfiguration.options)
   100         ) + WebConfiguration.options)
    94 
   101 
    95     def server_file(self):
   102     def server_file(self):
    96         return join(self.apphome, '%s-%s.py' % (self.appid, self.name))
   103         return join(self.apphome, '%s-%s.py' % (self.appid, self.name))
    97 
   104