derhuerst / derhuerst/audio-conversion-queue
implement a cache
Open
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.