mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Add infohash cache
This commit is contained in:
parent
562724a1ed
commit
35f28e94c7
5 changed files with 32 additions and 5 deletions
|
@ -40,7 +40,7 @@ const getServerActor = memoizee(async function () {
|
|||
actor.Account = application.Account
|
||||
|
||||
return actor
|
||||
})
|
||||
}, { promise: true })
|
||||
|
||||
function generateVideoImportTmpPath (target: string | ParseTorrent) {
|
||||
const id = typeof target === 'string' ? target : target.infoHash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue