projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32e5747
)
Server: add informations when removing requests of unexisting pod
author
Chocobozzz
<florian.bigard@gmail.com>
Sat, 1 Oct 2016 14:10:18 +0000
(16:10 +0200)
committer
Chocobozzz
<florian.bigard@gmail.com>
Sat, 1 Oct 2016 14:10:18 +0000
(16:10 +0200)
server/models/request.js
patch
|
blob
|
history
diff --git
a/server/models/request.js
b/server/models/request.js
index 2d50d94e0c26805d2c2298c15b5a0d3132b0eedc..2d1c5af15802804aa2743970a7e0f3cd0459ad84 100644
(file)
--- a/
server/models/request.js
+++ b/
server/models/request.js
@@
-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()
}