Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: increase the event observer max body size #1195

Merged
merged 3 commits into from
Jan 9, 2025

Conversation

matteojug
Copy link
Collaborator

Description

Closes: #1186

Changes

Increase the body max size to 8MB for the event observer endpoint. Also add some codegen leftover from some other PR.

Testing Information

Add 2 tests to check the limit boundary.

Checklist:

  • I have performed a self-review of my code
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Copy link
Collaborator

@djordon djordon left a comment

Choose a reason for hiding this comment

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

Looks good, and nice test.

signer/src/api/new_block.rs Outdated Show resolved Hide resolved
signer/src/api/new_block.rs Show resolved Hide resolved
@matteojug matteojug merged commit 9755139 into main Jan 9, 2025
4 checks passed
@matteojug matteojug deleted the fix/event-observer-body-size branch January 9, 2025 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Set the request body payload size limit
2 participants