Created attachment 194113 [details] py-ldappool.patch Hello, attached is the patch that adds the Python package net/py-ldappool, that provides a simple connector pool for py-ldap. ldappool keeps LDAP connectors alive and let you reuse them, drastically reducing the time spent to initiate a ldap connection. The pool has useful features like: - transparent reconnection on failures or server restarts - configurable pool size and connectors timeouts - configurable max lifetime for connectors - a context manager to simplify acquiring and releasing a connector QA: ~~~ - poudriere (11.1-RELEASE amd64 + i386) for each py27 + py36 flavor -> OK - portlint -> OK
A commit references this bug: Author: miwi Date: Fri Jul 6 17:50:14 UTC 2018 New revision: 474026 URL: https://svnweb.freebsd.org/changeset/ports/474026 Log: ldappool keeps LDAP connectors alive and let you reuse them, drastically reducing the time spent to initiate a ldap connection. The pool has useful features like: - transparent reconnection on failures or server restarts - configurable pool size and connectors timeouts - configurable max lifetime for connectors - a context manager to simplify acquiring and releasing a connector WWW: https://pypi.org/project/ldappool/ PR: 228847 Submitted by: freebsd_ports@k-worx.org Sponsored by: iXsystems Inc. Changes: head/net/Makefile head/net/py-ldappool/ head/net/py-ldappool/Makefile head/net/py-ldappool/distinfo head/net/py-ldappool/pkg-descr