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:
parent
1868ff3db9
commit
020d3d3d79
5 changed files with 124 additions and 18 deletions
|
@ -271,6 +271,10 @@ class Redis {
|
|||
: ''
|
||||
}
|
||||
|
||||
deleteUploadSession (uploadId: string) {
|
||||
return this.deleteKey('resumable-upload-' + uploadId)
|
||||
}
|
||||
|
||||
/* ************ Keys generation ************ */
|
||||
|
||||
generateCachedRouteKey (req: express.Request) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue