new name for the log stats file

This commit is contained in:
Andre Staltz 2024-01-18 16:27:17 +02:00
parent 69a0a1f60c
commit 844b808e78
No known key found for this signature in database
GPG Key ID: 9EDE23EA7E8A4890
1 changed files with 1 additions and 1 deletions

View File

@ -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