SettingsKnobStore

The App level of the trove schema over the node's settings.

Inherits config::IStore

In the namespace octomy::trove. Declared in src/libs/libtrove/trove/TroveStores.hpp.

Detailed description

config::ui::SettingsStore does the same job for the settings page, and libhub uses it there. libtrove cannot link libconfigui: libconfigui reaches libnode, and libnode depends on libtrove. So readTroveKnobs() reads through this small local store. It does not own the settings, and it lives for one read.

A write is durable, as writeTroveKnobsDurable() was, because a knob that the scheduler reads must survive a crash.

In this section