Optimize SQL requests of watch page API endpoints
authorChocobozzz <me@florianbigard.com>
Tue, 18 Sep 2018 10:00:49 +0000 (12:00 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 19 Sep 2018 07:54:37 +0000 (09:54 +0200)
commit627621c1e8d37c33f7b3dd59f4c8907b12c630bc
tree007e7118f482c543d3898b222b62c185fda4fd2b
parente972e046dbe9b499944c4fab9220eee13e31ac1b
Optimize SQL requests of watch page API endpoints
15 files changed:
scripts/create-import-video-file-job.ts
scripts/create-transcoding-job.ts
scripts/prune-storage.ts
server/controllers/api/users/me.ts
server/controllers/api/videos/comment.ts
server/helpers/custom-validators/videos.ts
server/lib/cache/videos-caption-cache.ts
server/lib/cache/videos-preview-cache.ts
server/lib/client-html.ts
server/lib/job-queue/handlers/video-file.ts
server/lib/job-queue/handlers/video-import.ts
server/middlewares/validators/users.ts
server/middlewares/validators/video-captions.ts
server/middlewares/validators/video-comments.ts
server/models/video/video.ts