stuff
This commit is contained in:
parent
a718522c1a
commit
12cbe62765
1 changed files with 1 additions and 3 deletions
4
site.js
4
site.js
|
@ -130,12 +130,10 @@ async function siteCollector(user, path, site, useLimit) {
|
||||||
penv = penv.split(',');
|
penv = penv.split(',');
|
||||||
|
|
||||||
let users = [];
|
let users = [];
|
||||||
let legal = [];
|
|
||||||
|
|
||||||
for (let u of penv) {
|
for (let u of penv) {
|
||||||
let ca = await siteCollector(u, 'followers', site);
|
let ca = await siteCollector(u, 'followers', site);
|
||||||
users = users.concat(ca);
|
users = users.concat(ca);
|
||||||
legal = legal.concat(ca);
|
|
||||||
|
|
||||||
users = users.concat(await siteCollector(u, 'following', site));
|
users = users.concat(await siteCollector(u, 'following', site));
|
||||||
}
|
}
|
||||||
|
@ -157,7 +155,7 @@ async function siteCollector(user, path, site, useLimit) {
|
||||||
let congested = [];
|
let congested = [];
|
||||||
|
|
||||||
for (let u of users) {
|
for (let u of users) {
|
||||||
let inLegal = legal.indexOf(u) != -1;
|
let inLegal = penv.indexOf(u) != -1;//legal.indexOf(u) != -1;
|
||||||
|
|
||||||
let it = 0;
|
let it = 0;
|
||||||
while (p.length >= (process.env.maxRate || 15)) {
|
while (p.length >= (process.env.maxRate || 15)) {
|
||||||
|
|
Loading…
Reference in a new issue