v0.43.1
This commit is contained in:
1 parent
5b6d4a7903
commit
4d1087e357
160 files changed
+2407
-1933
No files matched your search
@@ -135,8 +135,6 @@ func (e *enroller) redeem(cfg config, presented string, now time.Time) bool {
|
||||
return true
|
||||
}
|
||||
|
||||
// The limiter is deliberately global: it has constant memory usage even if
|
||||
// callers rotate source IPs. Enrollment is a rare administrative operation.
|
||||
type enrollLimiter struct {
|
||||
mu sync.Mutex
|
||||
tokens float64
|
||||
|
||||
Reference in new issue
Block a user