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

Fetching remote communities for first time is very slow #2180

Closed
Nutomic opened this issue Mar 31, 2022 · 0 comments
Closed

Fetching remote communities for first time is very slow #2180

Nutomic opened this issue Mar 31, 2022 · 0 comments
Labels
area: federation support federation via activitypub bug Something isn't working

Comments

@Nutomic
Copy link
Member

Nutomic commented Mar 31, 2022

This is because it also fetches the community outbox, which includes the last 20 posts. For each post, if it has a link, the site metadata is fetched. This is done serially for one post after another, with a timeout of 10s. So in the worst case, fetching link metadata alone can take 20 * 10 = 3m 20s for a single community.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: federation support federation via activitypub bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant