mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-13 23:25:30 +03:00
Don't make useless requests to friends
This commit is contained in:
parent
c158027179
commit
155098af55
@ -29,6 +29,8 @@
|
||||
PoolRequestsDB.find({}, { type: 1, request: 1 }, function (err, pool_requests) {
|
||||
if (err) throw err
|
||||
|
||||
if (pool_requests.length === 0) return
|
||||
|
||||
var requests = {
|
||||
add: [],
|
||||
remove: []
|
||||
|
Loading…
Reference in New Issue
Block a user