Cache .narinfo lookups
This commit is contained in:
		| @@ -591,7 +591,9 @@ void State::dumpStatus(Connection & conn, bool log) | ||||
|  | ||||
|             auto & stats = store->getStats(); | ||||
|             nested.attr("narInfoRead", stats.narInfoRead); | ||||
|             nested.attr("narInfoReadAverted", stats.narInfoReadAverted); | ||||
|             nested.attr("narInfoWrite", stats.narInfoWrite); | ||||
|             nested.attr("narInfoCacheSize", stats.narInfoCacheSize); | ||||
|             nested.attr("narRead", stats.narRead); | ||||
|             nested.attr("narReadBytes", stats.narReadBytes); | ||||
|             nested.attr("narReadCompressedBytes", stats.narReadCompressedBytes); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user