[Pulp-list] unit tests functional again
Mike McCune
mmccune at redhat.com
Fri Jul 23 19:38:42 UTC 2010
We were using a mongo connection *PER* API class when in fact you only
need one per application.
Each:
pymongo.Connection()
is a pointer to a connection pool and by using one per API class we were
creating too many pools to the DB. Switching to on pool and Connection
solved the problem.
Mike
--
Mike McCune
mmccune AT redhat.com
Red Hat Engineering | Portland, OR
Systems Management | 650.254.4248
More information about the Pulp-list
mailing list