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

Poll plugin: add support for preserving polls across restarts #1514

Open
progval opened this issue Jul 30, 2022 · 1 comment
Open

Poll plugin: add support for preserving polls across restarts #1514

progval opened this issue Jul 30, 2022 · 1 comment

Comments

@progval
Copy link
Owner

progval commented Jul 30, 2022

Should probably use unpreserve (nicer for human edits), pickle (more future-proof), or sqlite3 (middle ground). Or maybe pretty-printed JSON; it's uncommon in Limnoria but seems to be about as future-proof as pickle (if not more, considering changes in pickle formats), and still easily human-editable

@progval
Copy link
Owner Author

progval commented Jul 30, 2022

relevant comment by @jlu5: JSON keys can't be tuples (currently, we use (irc.network, channel) as key in the plugin)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant