]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
Define max_retries for pool connections (#4908)
authorNick Porter <nick@portercomputing.co.uk>
Thu, 23 Feb 2023 18:25:33 +0000 (18:25 +0000)
committerGitHub <noreply@github.com>
Thu, 23 Feb 2023 18:25:33 +0000 (13:25 -0500)
commit2c21c17294ec265ecf66f7f3a080071ecf6b4437
tree613438c3f01fa75eeef0699fe5cda9749a734f86
parent09de0d2dd70e49979ad6730d646f8ca405a5be5f
Define max_retries for pool connections (#4908)

Allows control over the number of times a connection operation can be
retried before the module call fails.

Previously this was always set to the number of connections in the pool
- so on a system with a large number of open connections, and a remote
server going slow, this would easily block threads.
raddb/mods-available/ldap
raddb/mods-available/sql
src/include/connection.h
src/main/connection.c
src/modules/rlm_ldap/ldap.c
src/modules/rlm_sql/sql.c