Merge lp:~cjwatson/launchpad/private-loggerhead into lp:launchpad
Status: | Merged |
---|---|
Merged at revision: | 18691 |
Proposed branch: | lp:~cjwatson/launchpad/private-loggerhead |
Merge into: | lp:launchpad |
Diff against target: |
118 lines (+50/-8) 4 files modified
lib/launchpad_loggerhead/app.py (+19/-8) lib/launchpad_loggerhead/tests.py (+25/-0) lib/launchpad_loggerhead/wsgi.py (+1/-0) lib/lp/services/config/schema-lazr.conf (+5/-0) |
To merge this branch: | bzr merge lp:~cjwatson/launchpad/private-loggerhead |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
William Grant | code | Approve | |
Review via email: mp+345680@code.launchpad.net |
Commit message
Make loggerhead listen on an additional private port without authentication.
Description of the change
The idea of this is to be able to use loggerhead as an API from Launchpad, mostly its JSON endpoints.
paste.httpserver couldn't listen on multiple ports without having to bring up entire new thread pools for each one, so I ported this to gunicorn. I've tried to keep the worker configuration as close to what was there before as possible, but of course we should keep an eye on poor old babaco's memory usage after deployment.
The one thing I couldn't figure out how to port was the NoLockingFileHa
Can you split out the gunicorn port into an earlier MP? We can get that landed and deployed now and separately work out the security around the private port.