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: widen token column a bit #376

Merged
merged 1 commit into from
Nov 22, 2024
Merged

feat: widen token column a bit #376

merged 1 commit into from
Nov 22, 2024

Conversation

winged
Copy link
Contributor

@winged winged commented Nov 21, 2024

The 128 character limit implied a character limit of about 90 for file names.

This is a bit too close to the practical limit of what users actually do, and if the limit is hit, LOCK calls fail with unexpected errors due to the DB not being able to deal with the token.

Widening it to 250 chars should move the "hard limit" further away, thus reducing the chance of errors significantly.

@winged
Copy link
Contributor Author

winged commented Nov 21, 2024

Fixes #375 (well works around it I guess)

@winged winged requested review from kaldras, czosel and luytena November 21, 2024 17:35
The 128 character limit implied a character limit of about 90 for file names.

This is a bit too close to the practical limit of what users *actually* do,
and if the limit is hit, LOCK calls fail with unexpected errors due to the DB
not being able to deal with the token.

Widening it to 255 chars should move the "hard limit" further away, thus
reducing the chance of errors significantly.
@winged winged merged commit 71deb34 into main Nov 22, 2024
7 checks passed
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.

2 participants