derhuerst / derhuerst/audio-conversion-queue

implement a cache

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Consider a scenario in which a second conversion of `/some-audio.m4a` gets requested before the first has finished. A simple cache would prevent converting the same file twice.

A counter per generated file would keep track of how many conversion requests actually referenced it. `purge(cb)` would only actually delete the file if no other conversion needs the file.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.