]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commit
Server: make a basic "quick and dirty update" for videos
authorChocobozzz <florian.bigard@gmail.com>
Tue, 21 Feb 2017 20:35:59 +0000 (21:35 +0100)
committerChocobozzz <florian.bigard@gmail.com>
Sun, 26 Feb 2017 19:01:26 +0000 (20:01 +0100)
commit9e167724f7e933f41d9ea2e1c31772bf4c560a28
tree093cb7c1b088f35aaf847f859a313a121c8cd233
parent0150b17e51df3e9fad8a59133d828c68f8ba672b
Server: make a basic "quick and dirty update" for videos

This system will be useful to to update some int video attributes
(likes, dislikes, views...)

The classic system is not used because we need some optimization for
scaling
19 files changed:
server/controllers/api/remote/videos.js
server/controllers/api/videos.js
server/helpers/custom-validators/remote/videos.js
server/helpers/custom-validators/videos.js
server/helpers/requests.js
server/initializers/constants.js
server/initializers/migrations/0015-video-views.js [new file with mode: 0644]
server/lib/base-request-scheduler.js [new file with mode: 0644]
server/lib/friends.js
server/lib/request-scheduler.js
server/lib/request-video-qadu-scheduler.js [new file with mode: 0644]
server/middlewares/validators/remote/videos.js
server/models/pod.js
server/models/request-to-pod.js
server/models/request-video-qadu.js [new file with mode: 0644]
server/models/request.js
server/models/video.js
server/tests/api/multiple-pods.js
server/tests/api/single-pod.js