This commit is contained in:
Chocobozzz 2023-06-19 14:29:50 +02:00
parent 43897b0311
commit 31b9518a86
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

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