Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix race condition with cache causing ytdl-core to hang
sometimes when clearing the ytdl-core internal cache, the app would still hang, waiting for any entries in the cache to expire.
- Loading branch information
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@fent I'm seeing some instances where we are now caching a promise in the identity token cache rather than the value it will resolve to. Is this change here the root cause? Perhaps fixing this issue regressed the promises passed to
getOrSet