Skip to content

Commit c0065e6

Browse files
committed
Expand comment
1 parent 563d443 commit c0065e6

File tree

1 file changed

+5
-1
lines changed
  • scripts/generator-adapter/generators/app/templates/src

1 file changed

+5
-1
lines changed

scripts/generator-adapter/generators/app/templates/src/index.ts.ejs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ export const adapter = new Adapter({
1818
<% } -%><%= ' ' %> endpoints: [<%= endpointNames %>],
1919
<% if (Object.values(endpoints).some(endpoint => endpoint.inputTransports.some(({ type }) => type === 'http'))) { -%>
2020
<% if (includeComments) { -%>
21-
// Rate limit otherwise we send requests as fast as possible without delay
21+
// Rate limit otherwise we send requests as fast as possible without delay.
22+
// You should adjust this based on what the data provider can tolerate and
23+
// how fresh you need your data to be. The rate limit is global for all
24+
// requests going through transport.dependencies.requester, which includes
25+
// the requests prepared in HttpTransport.prepareRequests.
2226
<% } -%><%= ' ' %> rateLimiting: {
2327
tiers: {
2428
default: {

0 commit comments

Comments
 (0)