From 844b808e7892ebb6474db0b699a111f9d292eb1f Mon Sep 17 00:00:00 2001 From: Andre Staltz Date: Thu, 18 Jan 2024 16:27:17 +0200 Subject: [PATCH] new name for the log stats file --- lib/log/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/log/index.js b/lib/log/index.js index 69b9eab..8e8ae4e 100644 --- a/lib/log/index.js +++ b/lib/log/index.js @@ -94,7 +94,7 @@ function Log(filename, opts) { const cache = new Cache({ maxSize: 1024 }) // This is potentially 64 MiB! let raf = RAF(filename) - const statsFilename = filename + '.stats' + const statsFilename = filename + 'stats.json' const blockSize = opts?.blockSize ?? DEFAULT_BLOCK_SIZE const codec = opts?.codec ?? DEFAULT_CODEC const writeTimeout = opts?.writeTimeout ?? DEFAULT_WRITE_TIMEOUT