From f52ae6973299fa3c1d81758838951e39904e1d84 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 25 Oct 2026 13:38:59 +0100 Subject: add files module to consistently track stats --- src/state.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/state.rs') diff --git a/src/state.rs b/src/state.rs index 37bde4a..15652ab 100644 --- a/src/state.rs +++ b/src/state.rs @@ -602,6 +602,8 @@ pub(crate) struct AppState { /// HTTP API users who may write protocol data through the store API /// (`--protocol-writers`). pub(crate) protocol_writers: Arc>, + /// This node's own files, and how much it read and wrote them. + pub(crate) files: Arc, /// What this node remembers across restarts (`--state-file`), if configured. pub(crate) state_file: Option>, /// The effective configuration with sources, imported values left out -- cgit v1.3.1