1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

Remove resumable cache after upload success

This commit is contained in:
Chocobozzz 2021-11-10 09:42:37 +01:00
parent 1868ff3db9
commit 020d3d3d79
No known key found for this signature in database
GPG key ID: 583A612D890159BE
5 changed files with 124 additions and 18 deletions

View file

@ -271,6 +271,10 @@ class Redis {
: ''
}
deleteUploadSession (uploadId: string) {
return this.deleteKey('resumable-upload-' + uploadId)
}
/* ************ Keys generation ************ */
generateCachedRouteKey (req: express.Request) {