Fix log
This commit is contained in:
parent
43897b0311
commit
31b9518a86
|
@ -72,7 +72,7 @@ class LiveSegmentShaStore {
|
||||||
|
|
||||||
private writeToDisk () {
|
private writeToDisk () {
|
||||||
return this.writeQueue.add(async () => {
|
return this.writeQueue.add(async () => {
|
||||||
logger.debug(`Writing segment sha JSON ${this.sha256Path} of ${this.videoUUID} on disk %s.`, lTags(this.videoUUID))
|
logger.debug(`Writing segment sha JSON ${this.sha256Path} of ${this.videoUUID} on disk.`, lTags(this.videoUUID))
|
||||||
|
|
||||||
// Atomic write: use rename instead of move that is not atomic
|
// Atomic write: use rename instead of move that is not atomic
|
||||||
await writeJson(this.sha256PathTMP, mapToJSON(this.segmentsSha256))
|
await writeJson(this.sha256PathTMP, mapToJSON(this.segmentsSha256))
|
||||||
|
|
Loading…
Reference in New Issue