bsky-furry-feed icon indicating copy to clipboard operation
bsky-furry-feed copied to clipboard

Limit actors loaded on queue (re)load

Open KevSlashNull opened this issue 1 year ago • 1 comments

This limits the number of actor profiles loaded in the approval queue on initial load and any subsequent refresh to 102.

While this change hides the true number of accounts in the queue, this prevents that in the admittedly unlikely but possible scenario described by Toon (internal), we can process the queue relatively performant.

In the long term, I want to show the total number of queued accounts and only load a single account—especially with how we might change how the queue is interacted with—, but for now this is a good patch.

Screenshots

Because of the limit change, the pending count now summarizes the pending count as 100+ if there are more than 100 accounts in the queue.

Before After
image image

KevSlashNull avatar Aug 20 '23 00:08 KevSlashNull

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
bsky-furry-feed-admin ✅ Ready (Inspect) Visit Preview Aug 20, 2023 0:43am
1 Ignored Deployment
Name Status Preview Updated (UTC)
bsky-furry-feed-info ⬜️ Ignored (Inspect) Aug 20, 2023 0:43am

vercel[bot] avatar Aug 20 '23 00:08 vercel[bot]