Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Server: add informations when removing requests of unexisting pod

Chocobozzzd6cf31b7e03a
diff --git a/server/models/request.js b/server/models/request.js
index 2d50d94e0c..2d1c5af158 100644
--- 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()
}