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

feat: increase service URL size limit #608

Merged
merged 1 commit into from
Feb 13, 2024
Merged

feat: increase service URL size limit #608

merged 1 commit into from
Feb 13, 2024

Conversation

ntn-x2
Copy link
Member

@ntn-x2 ntn-x2 commented Feb 12, 2024

Fixes /~https://github.com/KILTprotocol/ticket/issues/3131.

The ticket mentions that 500 would be a good new limit for the inbound request we had. Reading elsewhere online, such as here it seems that 2000 characters is a good upper bound limit for URLs. Since every change would require a runtime upgrade, I would rather make the value future proof and set it to 2000 directly.

@ntn-x2 ntn-x2 self-assigned this Feb 12, 2024
@ntn-x2 ntn-x2 requested review from weichweich and Ad96el February 12, 2024 07:06
Copy link
Member

@Dudleyneedham Dudleyneedham left a comment

Choose a reason for hiding this comment

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

LGTM

@ntn-x2 ntn-x2 merged commit 350bc85 into develop Feb 13, 2024
2 checks passed
@ntn-x2 ntn-x2 deleted the aa/did-url-limits branch February 13, 2024 05:50
ChrisChinchilla pushed a commit that referenced this pull request Feb 16, 2024
Fixes /~https://github.com/KILTprotocol/ticket/issues/3131.

The ticket mentions that 500 would be a good new limit for the inbound
request we had. Reading elsewhere online, such as
[here](https://stackoverflow.com/a/417184) it seems that 2000 characters
is a good upper bound limit for URLs. Since every change would require a
runtime upgrade, I would rather make the value future proof and set it
to 2000 directly.
Ad96el pushed a commit that referenced this pull request Apr 2, 2024
Fixes KILTprotocol/ticket#3131.

The ticket mentions that 500 would be a good new limit for the inbound
request we had. Reading elsewhere online, such as
[here](https://stackoverflow.com/a/417184) it seems that 2000 characters
is a good upper bound limit for URLs. Since every change would require a
runtime upgrade, I would rather make the value future proof and set it
to 2000 directly.
ntn-x2 added a commit that referenced this pull request Apr 4, 2024
Fixes KILTprotocol/ticket#3131.

The ticket mentions that 500 would be a good new limit for the inbound
request we had. Reading elsewhere online, such as
[here](https://stackoverflow.com/a/417184) it seems that 2000 characters
is a good upper bound limit for URLs. Since every change would require a
runtime upgrade, I would rather make the value future proof and set it
to 2000 directly.
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.

4 participants