Skip to content

Commit 8c8b29b

Browse files
committed
update documentation
1 parent a104474 commit 8c8b29b

File tree

1 file changed

+2
-1
lines changed
  • docs/advanced-guide/http-communication

1 file changed

+2
-1
lines changed

docs/advanced-guide/http-communication/page.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ a.AddHTTPService("cat-facts", "https://catfact.ninja",
124124
},
125125

126126
&service.RateLimiterConfig{
127-
Rate: 5,
127+
Requests: 5,
128+
Window: time.Minute,
128129
Burst: 10,
129130
RedisClient: rc, // if RedisClient is nil, in-memory rate limiter will be used
130131
},

0 commit comments

Comments
 (0)