Skip to content

Commit f8e89b4

Browse files
committed
docs(websearch): add TODO for rate limiter eviction
1 parent d1a338d commit f8e89b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/websearch/httpclient/ratelimit.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"golang.org/x/time/rate"
88
)
99

10+
// TODO: evict stale entries if used in a long-lived process.
1011
type hostRateLimiter struct {
1112
mu sync.Mutex
1213
limiters map[string]*rate.Limiter

0 commit comments

Comments
 (0)