Refactor #1046
closedpulp.server.async.celery_instance.create_mongo_config() and pulp.server.db.connection.initialize() contain a nearly identical code block
0%
Description
pulp.server.async.celery_instance.create_mongo_config() and pulp.server.db.connection.initialize() duplicate the effort of converting the settings in /etc/pulp/server.conf into a pymongo config.
We should refactor this effort out into a single function that they both use so that bug fixes can be made in one place instead of two. They do things a little bit differently as it is, which is confusing.
Updated by bmbouter almost 6 years ago
- Status changed from NEW to CLOSED - WONTFIX
Updated by bmbouter almost 6 years ago
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.