-
Notifications
You must be signed in to change notification settings - Fork 58
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
chore: disable store protocol by default #1374
Conversation
Jenkins Builds
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ✅
Do we explicitly set the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. Side comment, having a networkmonitor tool helps when making this kind of changes, since it allows us to measure the impact of this (i.e. decrease in number of peers providing store
capability).
@alrevuelta good point. Will be interesting to see the results. From the already published results I think the number of
Luckily we do: cc @LNSD @rymnc
|
Opening this suggestion as a PR, because I believe it should be done before the release if we agree upon it.
Disables
store
protocol by default.Reasoning
One of the most important considerations for configuration is to have good defaults. I believe the default for
store
(which now implies actually persisting historical messages) should befalse
:relay
-only node" - this should be the reasonable defaultstore
disabled.persist-messages
option)TL;DR
To work as it did before
store
should now by default befalse
. I think this is the most reasonable default use case. :D