Skip to content

requestNodes: only save if new nodes were added

Luke Champine requested to merge gateway-save-nodes into master

this is mostly relevant to antfarm setups, where you have a small number of nodes that repeatedly bounce their addresses back and forth to each other. After a few minutes, none of the nodes will ever receive another unique address, but they still save the node list over and over again, incurring needless IO. This was discovered using the inotifywait command mentioned in #2362.

Merge request reports