Default avatars load 10-20 seconds - federated avatars too slow #5158

Closed
opened 2025-11-02 06:16:22 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @hrvoj3e on GitHub (Mar 31, 2020).

Should federated avatars feature have a shorter timeout?

I can use Gitea but browser tab keeps on loading.
Load time multiplies with number od different users that have the default avatar.

Gitea version (or commit ref): 1.11.3
Example URL

Solved with ENABLE_FEDERATED_AVATAR = false

[picture]
AVATAR_UPLOAD_PATH            = /data/gitea/avatars
REPOSITORY_AVATAR_UPLOAD_PATH = /data/gitea/repo-avatars
DISABLE_GRAVATAR              = false
## takes too long - turn off
ENABLE_FEDERATED_AVATAR       = false
Originally created by @hrvoj3e on GitHub (Mar 31, 2020). Should federated avatars feature have a shorter timeout? I can use Gitea but browser tab keeps on loading. Load time multiplies with number od different users that have the default avatar. Gitea version (or commit ref): 1.11.3 Example URL - https://my.gitea.server/user/avatar/username/-1 Solved with `ENABLE_FEDERATED_AVATAR = false` ```properties [picture] AVATAR_UPLOAD_PATH = /data/gitea/avatars REPOSITORY_AVATAR_UPLOAD_PATH = /data/gitea/repo-avatars DISABLE_GRAVATAR = false ## takes too long - turn off ENABLE_FEDERATED_AVATAR = false ```
Author
Owner

@lafriks commented on GitHub (Mar 31, 2020):

This should be resolved with #10540

@lafriks commented on GitHub (Mar 31, 2020): This should be resolved with #10540
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5158