]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
Clean up spare connections on release
authorAlan T. DeKok <aland@freeradius.org>
Mon, 17 Oct 2011 19:18:56 +0000 (21:18 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 17 Oct 2011 19:18:56 +0000 (21:18 +0200)
commitfa41e2b666d6548d9c63ea06a9148eaa8d07e07f
treeeb645e6594b3a12a5b3363c2b4bb906aeb36d8d9
parentfce8cb2bc4db90987daa04dfc60b8d815ab4ca80
Clean up spare connections on release

This mirrors the "spawn new connections on get" functionality.

Also, remember when we last failed to connect.  When that happens,
we continue to use existing connections, but we don't open new
connections for one second.  This behavior ensures that incoming
requests will still be processed quickly, even when the back-end
database is down.
src/main/connection.c