diff options
author | Chocobozzz <me@florianbigard.com> | 2020-01-03 13:47:45 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-01-03 13:47:45 +0100 |
commit | 35f28e94c763370616d25d5820f4b9ef70cedca9 (patch) | |
tree | 7ade51d5e60a5856d74c5776dd62fcaaa3ae0858 /server/helpers/utils.ts | |
parent | 562724a1ed13fe93aba08ca1a0f8e029819e9f32 (diff) | |
download | PeerTube-35f28e94c763370616d25d5820f4b9ef70cedca9.tar.gz PeerTube-35f28e94c763370616d25d5820f4b9ef70cedca9.tar.zst PeerTube-35f28e94c763370616d25d5820f4b9ef70cedca9.zip |
Add infohash cache
Diffstat (limited to 'server/helpers/utils.ts')
-rw-r--r-- | server/helpers/utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/utils.ts b/server/helpers/utils.ts index ba07eaaf3..4c6f200f8 100644 --- a/server/helpers/utils.ts +++ b/server/helpers/utils.ts | |||
@@ -40,7 +40,7 @@ const getServerActor = memoizee(async function () { | |||
40 | actor.Account = application.Account | 40 | actor.Account = application.Account |
41 | 41 | ||
42 | return actor | 42 | return actor |
43 | }) | 43 | }, { promise: true }) |
44 | 44 | ||
45 | function generateVideoImportTmpPath (target: string | ParseTorrent) { | 45 | function generateVideoImportTmpPath (target: string | ParseTorrent) { |
46 | const id = typeof target === 'string' ? target : target.infoHash | 46 | const id = typeof target === 'string' ? target : target.infoHash |