diff --git a/cmd/boulder-ra/main.go b/cmd/boulder-ra/main.go index d844fb4a4e50..84048c24ff4f 100644 --- a/cmd/boulder-ra/main.go +++ b/cmd/boulder-ra/main.go @@ -295,7 +295,10 @@ func main() { apc, issuerCerts, ) - defer rai.DrainFinalize() + defer func() { + rai.DrainFinalize() + limiterRedis.StopLookups() + }() policyErr := rai.LoadRateLimitPoliciesFile(c.RA.RateLimitPoliciesFilename) cmd.FailOnError(policyErr, "Couldn't load rate limit policies file")