diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-10-01 16:10:18 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-10-01 16:10:18 +0200 |
commit | d6cf31b7e03ad7d8f9e0408f70a88dae3a276d1e (patch) | |
tree | 4a5a899dcbad78dea596dd14ae424fff3c4099c9 /server | |
parent | 32e574750a7b06699073ac8e98aeebaf2fa8a82d (diff) | |
download | PeerTube-d6cf31b7e03ad7d8f9e0408f70a88dae3a276d1e.tar.gz PeerTube-d6cf31b7e03ad7d8f9e0408f70a88dae3a276d1e.tar.zst PeerTube-d6cf31b7e03ad7d8f9e0408f70a88dae3a276d1e.zip |
Server: add informations when removing requests of unexisting pod
Diffstat (limited to 'server')
-rw-r--r-- | server/models/request.js | 1 |
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 | } |