-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
value.nick_values column isn't long enough #2291
Labels
Bug
Things to squish; generally used for issues
Comments
RhinosF1
changed the title
nick_values column isn't long enough
value.nick_values column isn't long enough
May 29, 2022
|
This was referenced May 29, 2022
This should be handled via #2317 |
dgw
added a commit
to dgw/sopel-waifu
that referenced
this issue
Feb 24, 2024
I decided that the complexity of caching suggestions to `bot.db` isn't worth it. Savings on SSD wear are likely to be negligible as this feature doesn't see heavy use, and it's actually *more* likely to lose data that's only cached in `bot.memory` if the bot crashes or otherwise fails to shut down gracefully. Plus, plugin values in the database will be truncated to a fairly short length on certain DB backends (see issue tracking this upstream, sopel-irc/sopel#2291). Tested live adding a few waifus, viewed the file (making sure newlines were handled correctly), and then used `.clearwaifus` to delete it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
https://github.com/sopel-irc/sopel/blob/master/sopel/db.py#L66 states it should be 255 charecters. That doesn't even fit seen which is from core as that needs at least 512. This should be made higher.
Reproduction steps
Expected behavior
Column is big enough
Logs
None yet, I can post if really needed
Environment
.version
: somewhere between 7 & 8/version
: LiberaNotes
TEXT might be good, moaned on IRC. Will probably make TEXT.
The text was updated successfully, but these errors were encountered: