Skip to content

Commit

Permalink
Increase timeline threshold (bluesky-social#1573)
Browse files Browse the repository at this point in the history
* increase threshold

* branch name

* fix

* rm build cfg
  • Loading branch information
dholms authored Sep 11, 2023
1 parent b07ff0c commit 3f71981
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/bsky/src/api/app/bsky/feed/getTimeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const getTimelineSkeleton = async (
.innerJoin('follow', 'follow.subjectDid', 'feed_item.originatorDid')
.where('follow.creator', '=', viewer)
.innerJoin('post', 'post.uri', 'feed_item.postUri')
.where('feed_item.sortAt', '>', getFeedDateThreshold(sortFrom, 1))
.where('feed_item.sortAt', '>', getFeedDateThreshold(sortFrom, 2))
.selectAll('feed_item')
.select([
'post.replyRoot',
Expand All @@ -79,7 +79,7 @@ export const getTimelineSkeleton = async (
.selectFrom('feed_item')
.innerJoin('post', 'post.uri', 'feed_item.postUri')
.where('feed_item.originatorDid', '=', viewer)
.where('feed_item.sortAt', '>', getFeedDateThreshold(sortFrom, 1))
.where('feed_item.sortAt', '>', getFeedDateThreshold(sortFrom, 2))
.selectAll('feed_item')
.select([
'post.replyRoot',
Expand Down

0 comments on commit 3f71981

Please sign in to comment.