Refresh remote accounts occasionally
I currently have the odd situation where some accounts that are interacting with me still have their old bio and profile picture.
I think that under the following conditions, we should occasionally trigger a re-fetch; when the account is not followed, and it has been a week since the last fetch, AND one of the following;
- The account is being searched for, or at the very least, the exact URL / @-handle is inputted in search
- The account is mentioning a local user in a post
- A local user starts following the account
This prevents severe desync, and makes sure that some profile pictures/bios etc. are at least updated occasionally, even when Update activities aren't spread for them.
Component: Core services
Type: Bug → Feature
State: Untriaged → Triaged
Target version: v2025.1
Target version: v2025.1 → v2025.1-beta5
Target version: v2025.1-beta5 → v2025.1-beta6
Project
Iceshrimp.NETPriority
NormalN
Type
FeatureF
State
TriagedT
Assignee
Laura HausmannSubsystem
BackendB
Component
Core servicesC
Target version
v2025.1-beta6V
Released in version
Unreleased
This is a good idea! I removed the feature "update on every resolve" (like -js does it) because it was causing severe performance issues for little discernible benefit, but this is a good compromise solution. We currently refresh the user on lookup (your first suggestion), though we only wait a certain time (1000ms I think?) and return the stale data if the refresh isn't complete by then for better UX.