]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
set limit on AWS health checks. Closes #5300
authorAlan T. DeKok <aland@freeradius.org>
Mon, 4 Mar 2024 11:27:36 +0000 (06:27 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 4 Mar 2024 11:27:57 +0000 (06:27 -0500)
raddb/sites-available/aws-nlb

index acea81e6a98325caf0e3e571f4874d8051d02489..06ca632609bb9dc179bab028e958aeec2f26692b 100644 (file)
@@ -33,6 +33,15 @@ listen {
        proto = tcp
        ipaddr = *
        port = 8000
+
+       #
+       #  Set limits so that unused connections get cleaned up quickly.
+       #
+       limit {
+             max_connections = 16
+             lifetime = 5
+             idle_timeout = 5
+       }
 }
 
 #