aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-01-11 18:06:51 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-01-11 18:06:51 +0100
commitd8cc063e9775688a1631eda9203411a2dba0333c (patch)
tree056b6e3ccf0cb5d97b2d300f0ed2776f24631d7a /server/models
parentdea32aacde362a5fbd62a88cd32487768b788468 (diff)
downloadPeerTube-d8cc063e9775688a1631eda9203411a2dba0333c.tar.gz
PeerTube-d8cc063e9775688a1631eda9203411a2dba0333c.tar.zst
PeerTube-d8cc063e9775688a1631eda9203411a2dba0333c.zip
Server: do not break remote videos processing on error
Diffstat (limited to 'server/models')
-rw-r--r--server/models/request.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/request.js b/server/models/request.js
index 26953e5f5..e048c288b 100644
--- a/server/models/request.js
+++ b/server/models/request.js
@@ -152,8 +152,6 @@ function makeRequests () {
152 return 152 return
153 } 153 }
154 154
155 logger.info('Making requests to friends.')
156
157 // We want to group requests by destinations pod and endpoint 155 // We want to group requests by destinations pod and endpoint
158 const requestsToMakeGrouped = {} 156 const requestsToMakeGrouped = {}
159 Object.keys(requests).forEach(function (toPodId) { 157 Object.keys(requests).forEach(function (toPodId) {
@@ -176,6 +174,8 @@ function makeRequests () {
176 }) 174 })
177 }) 175 })
178 176
177 logger.info('Making requests to friends.', { requests: requestsToMakeGrouped })
178
179 const goodPods = [] 179 const goodPods = []
180 const badPods = [] 180 const badPods = []
181 181