Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions src/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export const initServer = async () => {

// Start the server with middleware.
const server: FastifyInstance = fastify({
maxParamLength: 200,
connectionTimeout: SERVER_CONNECTION_TIMEOUT,
disableRequestLogging: true,
trustProxy,
Expand Down
1 change: 1 addition & 0 deletions src/server/schemas/wallet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const walletHeaderSchema = Type.Object({
},
"x-idempotency-key": Type.Optional(
Type.String({
maxLength: 200,
description: `Transactions submitted with the same idempotency key will be de-duplicated. Only the last ${env.TRANSACTION_HISTORY_COUNT} transactions are compared.`,
}),
),
Expand Down
Loading