mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-23 21:01:20 +00:00
Exclude instances with more than 30% of active users (#359)
* Exclude instances with more than 30% of active users * prettier * submodules * reorder
This commit is contained in:
parent
67b4f84b16
commit
9d69928514
4 changed files with 472 additions and 359 deletions
|
@ -65,7 +65,14 @@ try {
|
||||||
.filter(
|
.filter(
|
||||||
i =>
|
i =>
|
||||||
i.site_info.site_view.counts.users_active_month > min_monthly_users,
|
i.site_info.site_view.counts.users_active_month > min_monthly_users,
|
||||||
);
|
)
|
||||||
|
// Exclude large instances which represent more than 30% of all active users
|
||||||
|
.filter(i => {
|
||||||
|
let active_users_percent =
|
||||||
|
i.site_info.site_view.counts.users_active_month /
|
||||||
|
stats.users_active_month;
|
||||||
|
return active_users_percent < 0.3;
|
||||||
|
});
|
||||||
|
|
||||||
let stats2 = {
|
let stats2 = {
|
||||||
stats: stats,
|
stats: stats,
|
||||||
|
|
|
@ -10,7 +10,8 @@
|
||||||
"hexbear.net",
|
"hexbear.net",
|
||||||
"discuss.online",
|
"discuss.online",
|
||||||
"feddit.org",
|
"feddit.org",
|
||||||
"lemmings.world"
|
"lemmings.world",
|
||||||
|
"lemmy.world"
|
||||||
],
|
],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"lemmy.glasgow.social",
|
"lemmy.glasgow.social",
|
||||||
|
@ -23,7 +24,6 @@
|
||||||
"bakchodi.org",
|
"bakchodi.org",
|
||||||
"lemmy.comfysnug.space",
|
"lemmy.comfysnug.space",
|
||||||
"rqd2.net",
|
"rqd2.net",
|
||||||
"test.hexbear.net",
|
"test.hexbear.net"
|
||||||
"lemmy.world"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -201,6 +201,11 @@ export const RECOMMENDED_INSTANCES: RecommendedInstance[] = [
|
||||||
languages: ["en"],
|
languages: ["en"],
|
||||||
topics: [GENERAL],
|
topics: [GENERAL],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
domain: "lemmy.world",
|
||||||
|
languages: ["en"],
|
||||||
|
topics: [GENERAL],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
domain: "startrek.website",
|
domain: "startrek.website",
|
||||||
languages: ["en"],
|
languages: ["en"],
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue