-
Notifications
You must be signed in to change notification settings - Fork 869
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
Menu items for enabling pubsub and automatic GC #1647
Comments
I think if we have a UI based switch to turn on/off the flags such as Pubsub and GC etc then that would be better for end users as well. I am currently working on a framework that does require IPFS in the backend and needs the PUBSUB to be enabled. Since the framework also consists of demos for general public as well, it's difficult for users to find the configuration and update the flags. |
@shaikh-shahid that is very useful feedback, thank you. I think we could avoid enabling pubsub by default by adding on/off checkbox settings for pubsub (and automatic GC) to the Desktop app menu. Toggling would automatically restart the deamon with the new setting. |
Note: Added mockup of menu item placement in original comment. Unless @aschmahmann or @autonome have objections, I believe this is ready to work. |
Here to echo @shaikh-shahid's comment, I'm working on a project that needs pubsub to be enabled and if they are using ipfs desktop, it's is not a friendly user experience. |
@andrew I don't think we can enable it by default when its marked as experiment in go-ipfs, but we could prioritize adding the opt-in via menu visible in #1647 (comment). |
Yeah not asking for it on by default but for a user to be able to set the option via desktop |
Opened a pull request to add the pubsub option: #1735 If that goes well then I'll open another with the automatic GC option. |
Two thoughts:
|
* feat: disable/enable gc via settings menu Closes #1647 Very similar approach to #1735 * fix: ensure checkbox follows cli flag config - setting default state to on for new and pre-existing config - remove keysize (not needed since go-ipfs 0.7.0 uses ED25519 keys by default) Co-authored-by: Marcin Rataj <lidel@lidel.org>
I was looking into starting go-ipfs with additional flags:
--enable-pubsub-experiment
(pubsub) and--enable-namesys-pubsub
(IPNS over pubsub) and the main concern I've found was use of resources:So if we want pubsub and fast IPNS enabled, we need to pay the cost of higher resource utilization.
We could measure it and decide if its worth the added value, or prioritize a fix.
Updated: or at the very least, we could give user UI for enabling that with one click
Updated again: See mockup for placement of menu items for pubsub and automatic GC (note this also includes not-yet-implemented "Ask when opening" menu item, likely to land first in #1646)
@aschmahmann are there any other concerns that I don't see?
@autonome FYSA this also impacts go-ipfs in Brave, especially the speed of
ipns://
The text was updated successfully, but these errors were encountered: