Enable multithreading for ec2api
ec2api service is initialized with no workers count which leads to only one worker is run. ec2api_workers configuration settings will be used to set workers count. Change-Id: I5cfc650a7f6b38ec7bdeb9d9c9ddb97d5f2a1106
This commit is contained in:
parent
9ea493060f
commit
28291298ba
@ -32,7 +32,7 @@ def main():
|
||||
logging.setup(CONF, 'ec2api')
|
||||
|
||||
server = service.WSGIService('ec2api', max_url_len=16384)
|
||||
service.serve(server)
|
||||
service.serve(server, workers=server.workers)
|
||||
service.wait()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user