Remove useless mongodb connection pool comment
As connection pool feature has been delivered in 'Use a real MongoDB instance to run unit tests', remove the relevant comments in code. Change-Id: I515c7818350d39173f4435c4141b4e929c1a1a6c
This commit is contained in:
parent
b1cd85bc23
commit
9a3e056880
@ -88,10 +88,6 @@ class MongoDBStorage(base.StorageEngine):
|
||||
conf.register_group(self.OPTION_GROUP)
|
||||
conf.register_opts(self.OPTIONS, self.OPTION_GROUP)
|
||||
|
||||
# FIXME(xingzhou): ceilometer-api will create a Connection object for
|
||||
# each request. As pymongo.Connection has already maintained a db
|
||||
# connection pool for client, it is better to use a cached Connection
|
||||
# object to connect to mongodb.
|
||||
def get_connection(self, conf):
|
||||
"""Return a Connection instance based on the configuration settings.
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user