aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-10-01 16:10:18 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-10-01 16:10:18 +0200
commitd6cf31b7e03ad7d8f9e0408f70a88dae3a276d1e (patch)
tree4a5a899dcbad78dea596dd14ae424fff3c4099c9
parent32e574750a7b06699073ac8e98aeebaf2fa8a82d (diff)
downloadPeerTube-d6cf31b7e03ad7d8f9e0408f70a88dae3a276d1e.tar.gz
PeerTube-d6cf31b7e03ad7d8f9e0408f70a88dae3a276d1e.tar.zst
PeerTube-d6cf31b7e03ad7d8f9e0408f70a88dae3a276d1e.zip
Server: add informations when removing requests of unexisting pod
-rw-r--r--server/models/request.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/models/request.js b/server/models/request.js
index 2d50d94e0..2d1c5af15 100644
--- a/server/models/request.js
+++ b/server/models/request.js
@@ -176,6 +176,7 @@ function makeRequests () {
176 176
177 // Maybe the pod is not our friend anymore so simply remove it 177 // Maybe the pod is not our friend anymore so simply remove it
178 if (!toPod) { 178 if (!toPod) {
179 logger.info('Removing %d requests of unexisting pod %s.', requestToMake.ids.length, toPodId)
179 removePodOf.call(self, requestToMake.ids, toPodId) 180 removePodOf.call(self, requestToMake.ids, toPodId)
180 return callbackEach() 181 return callbackEach()
181 } 182 }