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

Improve relay limits #430

Closed
yukibtc opened this issue May 17, 2024 · 0 comments
Closed

Improve relay limits #430

yukibtc opened this issue May 17, 2024 · 0 comments
Milestone

Comments

@yukibtc
Copy link
Member

yukibtc commented May 17, 2024

  • Allow to specify limit per kind and increase default limit for kind 3 (?)
  • Allow to set limit per message type (ex. EVENT max 70kb and NEG-MSG max 5MB)

In general, more customizable limits.

Related to #429

@yukibtc yukibtc added this to the Release v0.32 milestone May 17, 2024
yukibtc added a commit that referenced this issue May 23, 2024
Add `max_size_per_kind` and `max_num_tags_per_kind` hashmaps, to set specific limits per kind. Add methods to get limits per kind and automatically fallback to generic ones.

Increase default kind 3 event limit to `840000` bytes and `10000` tags.

Closes #430

Signed-off-by: Yuki Kishimoto <yukikishimoto@protonmail.com>
yukibtc added a commit that referenced this issue May 23, 2024
Add `max_size_per_kind` and `max_num_tags_per_kind` hashmaps, to set specific limits per kind. Add methods to get limits per kind and automatically fallback to generic ones.

Increase default kind 3 event limit to `840000` bytes and `10000` tags.

Closes #430

Signed-off-by: Yuki Kishimoto <yukikishimoto@protonmail.com>
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

No branches or pull requests

1 participant