More appropriate limits
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ fun filterHomePostsByGeohashes(
|
||||
Filter(
|
||||
kinds = HomePostsByGeohashKinds,
|
||||
tags = mapOf("g" to geotags.sorted()),
|
||||
limit = 100,
|
||||
limit = geotags.size * 20,
|
||||
since = since,
|
||||
),
|
||||
),
|
||||
|
||||
+2
-2
@@ -78,7 +78,7 @@ fun filterHomePostsByGlobal(
|
||||
filter =
|
||||
Filter(
|
||||
kinds = HomePostsByGlobalKinds,
|
||||
limit = 400,
|
||||
limit = 50,
|
||||
since = since,
|
||||
),
|
||||
),
|
||||
@@ -87,7 +87,7 @@ fun filterHomePostsByGlobal(
|
||||
filter =
|
||||
Filter(
|
||||
kinds = HomePostsByGlobalKinds2,
|
||||
limit = 400,
|
||||
limit = 50,
|
||||
since = since,
|
||||
),
|
||||
),
|
||||
|
||||
+1
-1
@@ -41,7 +41,7 @@ fun filterHomePostsByScopes(
|
||||
Filter(
|
||||
kinds = CommentKinds,
|
||||
tags = mapOf("I" to scopesToLoad.toList()),
|
||||
limit = 100,
|
||||
limit = scopesToLoad.size * 20,
|
||||
since = since,
|
||||
),
|
||||
),
|
||||
|
||||
+2
-2
@@ -80,7 +80,7 @@ fun filterHomePostsByAuthors(
|
||||
Filter(
|
||||
kinds = HomePostsKinds,
|
||||
authors = authorList,
|
||||
limit = 400,
|
||||
limit = authorList.size * 10,
|
||||
since = since,
|
||||
),
|
||||
),
|
||||
@@ -90,7 +90,7 @@ fun filterHomePostsByAuthors(
|
||||
Filter(
|
||||
kinds = HomePostsKinds2,
|
||||
authors = authorList,
|
||||
limit = 400,
|
||||
limit = authorList.size * 10,
|
||||
since = since,
|
||||
),
|
||||
),
|
||||
|
||||
+2
-2
@@ -46,7 +46,7 @@ fun filterHomePostsFromAllCommunities(
|
||||
"a" to communityList,
|
||||
"k" to HomePostsFromCommunityKindsStr,
|
||||
),
|
||||
limit = 300,
|
||||
limit = communityList.size * 20,
|
||||
since = since,
|
||||
),
|
||||
),
|
||||
@@ -57,7 +57,7 @@ fun filterHomePostsFromAllCommunities(
|
||||
Filter(
|
||||
tags = mapOf("a" to communityList),
|
||||
kinds = HomePostsFromCommunityKinds,
|
||||
limit = 300,
|
||||
limit = communityList.size * 20,
|
||||
since = since,
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user