Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache outbound fetch errors #1182

Open
snarfed opened this issue Jul 14, 2024 · 0 comments
Open

Cache outbound fetch errors #1182

snarfed opened this issue Jul 14, 2024 · 0 comments
Labels

Comments

@snarfed
Copy link
Owner

snarfed commented Jul 14, 2024

If we try to fetch an external record and the fetch fails, we should cache that error with a short-lived TTL. Related: #1097

Background: https://fed.brid.gy/bsky/did:plc:tgguyu3xtyrmkfj4xljevyqo followed a ton of people right now (natively in Bluesky), which triggered a bunch of receive tasks. Somehow that user doesn't have an app.bsky.actor.profile/self record, so when we try to fetch their profile, it fails - specifically, getRecord calls to api.bsky.app return 400 - and the receive tasks fail, but we keep trying.

@snarfed snarfed added the infra label Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant