Skip to content

Commit a411b7f

Browse files
TrivueleArneBab
authored andcommitted
Stop downloading the installers on every restart
The installers are 220 MB together. That is 220 MB that is downloaded every time your node is restarted, which is at least once a day for most people. For a Freenet developer this gets painful. It may take 30 minutes to download them, which is time you want to spend downloading other things. It loads the network unnecessarily. The installers are only useful for darknet mode and the downloads can be started manually.
1 parent ad422a7 commit a411b7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/freenet/node/updater/NodeUpdateManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ public void set(Boolean val)
343343

344344
updateSeednodes = updaterConfig.getBoolean("updateSeednodes");
345345

346-
updaterConfig.register("updateInstallers", wasEnabledOnStartup, 6,
346+
updaterConfig.register("updateInstallers", false, 6,
347347
true, true, "NodeUpdateManager.updateInstallers",
348348
"NodeUpdateManager.updateInstallersLong",
349349
new BooleanCallback() {

0 commit comments

Comments
 (0)