Change out usync.Locker for usync.Monitor

This commit is contained in:
2025-02-05 21:45:12 -05:00
parent fe5be15ee6
commit 22ad9ccec5
2 changed files with 3 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ type Handler struct {
TrustXForwardedFor bool
TrustCFConnectingIP bool
rateLimitMap usync.Locker[map[string] rateLimitEntry]
rateLimitMap usync.Monitor[map[string] rateLimitEntry]
}
func (this *Handler) Init (ctx context.Context) error {