mirror of https://gitlab.com/bashrc2/epicyon
Maximum posts in a hashtag feed
parent
e2ed8e5640
commit
1de6b5d09c
|
@ -356,6 +356,9 @@ import os
|
||||||
# maximum number of posts to list in outbox feed
|
# maximum number of posts to list in outbox feed
|
||||||
maxPostsInFeed = 12
|
maxPostsInFeed = 12
|
||||||
|
|
||||||
|
# maximum number of posts in a hashtag feed
|
||||||
|
maxPostsInHashtagFeed = 6
|
||||||
|
|
||||||
# reduced posts for media feed because it can take a while
|
# reduced posts for media feed because it can take a while
|
||||||
maxPostsInMediaFeed = 6
|
maxPostsInMediaFeed = 6
|
||||||
|
|
||||||
|
@ -2990,7 +2993,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.translate,
|
self.server.translate,
|
||||||
baseDir,
|
baseDir,
|
||||||
searchStr[1:], 1,
|
searchStr[1:], 1,
|
||||||
maxPostsInFeed,
|
maxPostsInHashtagFeed,
|
||||||
self.server.session,
|
self.server.session,
|
||||||
self.server.cachedWebfingers,
|
self.server.cachedWebfingers,
|
||||||
self.server.personCache,
|
self.server.personCache,
|
||||||
|
@ -6711,7 +6714,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.maxRecentPosts,
|
self.server.maxRecentPosts,
|
||||||
self.server.translate,
|
self.server.translate,
|
||||||
baseDir, hashtag, pageNumber,
|
baseDir, hashtag, pageNumber,
|
||||||
maxPostsInFeed, self.server.session,
|
maxPostsInHashtagFeed, self.server.session,
|
||||||
self.server.cachedWebfingers,
|
self.server.cachedWebfingers,
|
||||||
self.server.personCache,
|
self.server.personCache,
|
||||||
httpPrefix,
|
httpPrefix,
|
||||||
|
|
Loading…
Reference in New Issue