default-nodes/README: update documentation regarding the select-default-node event

This commit is contained in:
George Kiagiadakis 2025-07-01 13:20:22 +03:00
parent 754c805061
commit e9928b4beb

View file

@ -73,10 +73,6 @@ is required:
- File
- Description
* - default-nodes/find-best-default-node
- find-best-default-node.lua
- prioritizes nodes based on their priority.session property
* - default-nodes/find-selected-default-node
- find-selected-default-node.lua
- prioritizes the current default.configured.* node, i.e. the current user selection
@ -85,15 +81,14 @@ is required:
- state-default-nodes.lua
- prioritizes past user selections from the state file
* - default-nodes/find-best-default-node
- find-best-default-node.lua
- prioritizes nodes based on their priority.session property & their associated Route priority
* - default-nodes/apply-default-node
- apply-default-node.lua
- sets the highest priority selected node as the default in the metadata
.. note::
The actual order of the "default-nodes/find-\*" hooks is not defined and doesn't matter.
The only thing that matters is that "default-nodes/apply-default-node" is the last hook.
select-default-node event
-------------------------