Skip to content

Rollup node/store: cache value on read

Alain Mebsout requested to merge alain@functori@fix-cache-on-read into master

Context

This MR makes the read function of the singleton stores cache the read value. This is particularly useful for stores which are rarely updated, such as the "protocol information" one. This avoids to always read from disk if a value is never written.

Merge request reports