Updated guide

This commit is contained in:
Mark Qvist 2022-06-17 15:27:31 +02:00
parent 2767e35a9f
commit 0a0de599dd
2 changed files with 16 additions and 4 deletions

View File

@ -672,7 +672,7 @@ class NomadNetworkApp:
if not "message_storage_limit" in self.config["node"]:
self.message_storage_limit = 2
else:
value = self.config["node"].as_int("message_storage_limit")
value = self.config["node"].as_float("message_storage_limit")
if value < 0.064:
value = 0.064
self.message_storage_limit = value

View File

@ -514,12 +514,12 @@ What color theme to use. Set it to match your terminal theme. Can be either `!da
>> Node Section
This section holds configuration directives related to the node hosting. It is delimited by the `![node]`! header in the configuration file. Available directives, along with their default values, are as follows:
This section holds configuration directives related to the node hosting. It is delimited by the `![node]`! header in the configuration file. Available directives, along with example values, are as follows:
>>>
`!enable_node = yes`!
`!enable_node = no`!
>>>>
Determines whether the node server should be started on launch. Must be a boolean value.
Determines whether the node server should be started on launch. Must be a boolean value, and is turned off by default.
<
>>>
@ -552,6 +552,18 @@ Determines where the node server will look for hosted pages. Must be a readable
Determines where the node server will look for downloadable files. Must be a readable filesystem path.
<
>>>
`!message_storage_limit = 2`!
>>>>
Configures the maximum amount of storage, in gigabytes, the LXMF Propagation Node will use to store messages.
<
>>>
`!prioritise_destinations = 10bc7624c27032a18639, ba780a6dff4cc1391db8`!
>>>>
Configures the LXMF Propagation Node to prioritise storing messages for certain destinations. If the message store reaches the specified limit, LXMF will prioritise keeping messages for destinations specified with this option. This setting is optional, and generally you do not need to use it.
<
>Ignoring Destinations
If you encounter peers or nodes on the network, that you would rather not see in your client, you can add them to the `!~/.nomadnetwork/ignored`! file. To ignore nodes or peers, add one 20-character hexadecimal destination hash per line to the file. To unignore one again, simply remove the corresponding entry from the file and restart Nomad Network.