Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,17 @@ export const adapter = new Adapter({
<% if (includeComments) { -%>
// List of supported endpoints
<% } -%><%= ' ' %> endpoints: [<%= endpointNames %>],
<% if (Object.values(endpoints).some(endpoint => endpoint.inputTransports.some(({ type }) => type === 'http'))) { -%>
<% if (includeComments) { -%>
// Rate limit otherwise we send requests as fast as possible without delay
<% } -%><%= ' ' %> rateLimiting: {
tiers: {
default: {
rateLimit1m: 6,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe have a comment here say change this value to fit DP

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have expanded the comment.

},
},
},
<% } -%>
})

export const server = (): Promise<ServerInstance | undefined> => expose(adapter)
Loading