RetroFed Forum
Your home away from modern life.
User Profiles Load Slowly For Admin
Post Reply
AuthorMessage
1.ceramics926 kopitalk.net 1.ceramics926@kopitalk.net
Joined: 2025-10-23
Quote

PieFed v1.4.4
Docker

Hi all! Happy New Year!

Issue: When I click on a profile, I expect it to load quickly. But, only as admin, I see that anyone's profile I click on loads fairly slowly.

Regular users apparently don't have the same issue.

Side Issue: Perhaps as a side issue, I discovered this load time problem when I get notifications saying that a user was reported. I'm not sure what the criteria are, but there's usually no note about why the user was reported. I click on the profile to try and figure out what the issue is, but I don't see anything too unusual to determine why the report was made in the first place.

1   Original
Rimu piefed.social rimu@piefed.social
Joined: 2024-01-04
#2 · Quote Reply

I've just pushed a change that should speed up the profile loads. There's some additional statistics that are for admins to see, which were being recalculated each time. That's been moved to a daily cron job instead.

This problem was reported a while back by someone else, too. It only occurs on underpowered servers - you'll likely notice other performance problems too. You might be able to tune your postgresql settings using this tool https://pgtune.leopard.in.ua/ to get better performance. I don't know how to do that when postgresql is running in a docker container but it must be possible.

1
Post Reply
Back to top