aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/caddytls/automation.go
diff options
context:
space:
mode:
authorFrancis Lavoie <[email protected]>2024-10-07 17:39:47 -0400
committerGitHub <[email protected]>2024-10-07 17:39:47 -0400
commitd7564d632fbed209e81978c5c2c529a7bf1836f7 (patch)
tree7e5dbe719988faf268e9a68ba37e0198ef333f5b /modules/caddytls/automation.go
parent88fd5f3491ab888f69f0be02cea68a49164298eb (diff)
downloadcaddy-d7564d632fbed209e81978c5c2c529a7bf1836f7.tar.gz
caddy-d7564d632fbed209e81978c5c2c529a7bf1836f7.zip
caddytls: Drop `rate_limit` and `burst`, has been deprecated (#6611)
Diffstat (limited to 'modules/caddytls/automation.go')
-rw-r--r--modules/caddytls/automation.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/caddytls/automation.go b/modules/caddytls/automation.go
index 1f1042ba0..f6a535077 100644
--- a/modules/caddytls/automation.go
+++ b/modules/caddytls/automation.go
@@ -322,12 +322,6 @@ func (ap *AutomationPolicy) Provision(tlsApp *TLS) error {
return err
}
- // check the rate limiter last because
- // doing so makes a reservation
- if !onDemandRateLimiter.Allow() {
- return fmt.Errorf("on-demand rate limit exceeded")
- }
-
return nil
},
Managers: ap.Managers,