diff options
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/redis.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/lib/redis.ts b/server/lib/redis.ts index 76b7868e8..8aec4b793 100644 --- a/server/lib/redis.ts +++ b/server/lib/redis.ts | |||
@@ -271,6 +271,10 @@ class Redis { | |||
271 | : '' | 271 | : '' |
272 | } | 272 | } |
273 | 273 | ||
274 | deleteUploadSession (uploadId: string) { | ||
275 | return this.deleteKey('resumable-upload-' + uploadId) | ||
276 | } | ||
277 | |||
274 | /* ************ Keys generation ************ */ | 278 | /* ************ Keys generation ************ */ |
275 | 279 | ||
276 | generateCachedRouteKey (req: express.Request) { | 280 | generateCachedRouteKey (req: express.Request) { |