acc14fca3a
This patch adds a __str__() method to the ConnectionManager class, which allows for a nice readible table to be obtained that shows the current state of the connection pool. This can be very useful for troubleshooting or monitoring issues related to connection pooling. The table will contain a row for each connection within the pool, with columns showing the connection slot, connectivity status, activity status, URI, connection lifetime, and bind DN. The header row will also indicate the pool size and maximum connection lifetime setting. Note that this adds a dependency on the prettytable module. This new dependency seems worth it for the nice readible table format it produces. Change-Id: If0abfef405d05ecd499bdf6201ff465bd845957b
6 lines
259 B
Plaintext
6 lines
259 B
Plaintext
# The order of packages is significant, because pip processes them in the order
|
|
# of appearance. Changing the order has an impact on the overall integration
|
|
# process, which may cause wedges in the gate later.
|
|
python-ldap>=3.0.0 # PSF
|
|
PrettyTable<0.8,>=0.7.2
|