commit 4175cb351fd8e3c9099fe592a434cd91dc847b1d
Author: Petr Malik <email address hidden>
Date: Tue Apr 5 15:52:15 2016 -0400
Reuse Cassandra connections
Cache and reuse the connections in the Admin and
Status objects to avoid leaking resources.
Initialize the App and Admin objects themselves lazily
at the first access.
The Connection object has been changed to act as both
an instance object and context manager.
Change-Id: I4263b870a1099d345ab1940c61ccdf4680a706ca
Closes-Bug: 1566946
(cherry picked from commit 728df1640f0db27fc541ad368341c98c1e77ef2c)
Reviewed: https:/ /review. openstack. org/313606 /git.openstack. org/cgit/ openstack/ trove/commit/ ?id=4175cb351fd 8e3c9099fe592a4 34cd91dc847b1d
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 4175cb351fd8e3c 9099fe592a434cd 91dc847b1d
Author: Petr Malik <email address hidden>
Date: Tue Apr 5 15:52:15 2016 -0400
Reuse Cassandra connections
Cache and reuse the connections in the Admin and
Status objects to avoid leaking resources.
Initialize the App and Admin objects themselves lazily
at the first access.
The Connection object has been changed to act as both
an instance object and context manager.
Change-Id: I4263b870a1099d 345ab1940c61ccd f4680a706ca fc541ad368341c9 8c1e77ef2c)
Closes-Bug: 1566946
(cherry picked from commit 728df1640f0db27