]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Server: add informations when removing requests of unexisting pod
authorChocobozzz <florian.bigard@gmail.com>
Sat, 1 Oct 2016 14:10:18 +0000 (16:10 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Sat, 1 Oct 2016 14:10:18 +0000 (16:10 +0200)
server/models/request.js

index 2d50d94e0c26805d2c2298c15b5a0d3132b0eedc..2d1c5af15802804aa2743970a7e0f3cd0459ad84 100644 (file)
@@ -176,6 +176,7 @@ function makeRequests () {
 
         // Maybe the pod is not our friend anymore so simply remove it
         if (!toPod) {
+          logger.info('Removing %d requests of unexisting pod %s.', requestToMake.ids.length, toPodId)
           removePodOf.call(self, requestToMake.ids, toPodId)
           return callbackEach()
         }