Skip to content

Commit

Permalink
Remove temp hack
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey committed May 19, 2024
1 parent eb4a5d5 commit 464f83c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/state/messages/convo/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -602,15 +602,6 @@ export class Convo {
this.isFetchingHistory = true
this.commit()

/*
* Delay if paginating while scrolled to prevent momentum scrolling from
* jerking the list around, plus makes it feel a little more human.
*/
if (this.pastMessages.size > 0) {
await new Promise(y => setTimeout(y, 500))
// throw new Error('UNCOMMENT TO TEST RETRY')
}

const nextCursor = this.oldestRev // for TS
const response = await networkRetry(2, () => {
return this.agent.api.chat.bsky.convo.getMessages(
Expand Down

0 comments on commit 464f83c

Please sign in to comment.