diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-12 20:04:58 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-12 20:37:51 +0200 |
commit | 2186386cca113506791583cb07d6ccacba7af4e0 (patch) | |
tree | 3c214c0b5fbd64332624267fa6e51fd4a9cf6474 /server/middlewares/cache.ts | |
parent | 6ccdf3a23ecec5ba2eeaf487fd1fafdc7606b4bf (diff) | |
download | PeerTube-2186386cca113506791583cb07d6ccacba7af4e0.tar.gz PeerTube-2186386cca113506791583cb07d6ccacba7af4e0.tar.zst PeerTube-2186386cca113506791583cb07d6ccacba7af4e0.zip |
Add concept of video state, and add ability to wait transcoding before
publishing a video
Diffstat (limited to 'server/middlewares/cache.ts')
-rw-r--r-- | server/middlewares/cache.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/cache.ts b/server/middlewares/cache.ts index bf6659687..1de44db70 100644 --- a/server/middlewares/cache.ts +++ b/server/middlewares/cache.ts | |||
@@ -14,7 +14,7 @@ function cacheRoute (lifetime: number) { | |||
14 | 14 | ||
15 | // Not cached | 15 | // Not cached |
16 | if (!cached) { | 16 | if (!cached) { |
17 | logger.debug('Not cached result for route %s.', req.originalUrl) | 17 | logger.debug('No cached results for route %s.', req.originalUrl) |
18 | 18 | ||
19 | const sendSave = res.send.bind(res) | 19 | const sendSave = res.send.bind(res) |
20 | 20 | ||