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

When after login visit startpage( / ), loading long time #31646

Closed
maxid opened this issue Jul 17, 2024 · 3 comments
Closed

When after login visit startpage( / ), loading long time #31646

maxid opened this issue Jul 17, 2024 · 3 comments
Labels
performance/speed performance issues with slow downs type/bug

Comments

@maxid
Copy link

maxid commented Jul 17, 2024

Description

Is it because there are too many repositories?

Gitea Version

1.21.4 ~1.22.1

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

2024/07/17 03:18:22 ...les/cache/context.go:134:GetContextData() [W] cache context is expired, may be misused for long-life tasks: &{map[] {{0 0} 0 0 {{} 0} {{} 0}} {13951566527469631649 2100230653303 0x695ad20} false}
..
2024/07/17 03:18:22 ...les/cache/context.go:147:SetContextData() [W] cache context is expired, may be misused for long-life tasks: &{map[] {{0 0} 0 0 {{} 0} {{} 0}} {13951566527469631649 2100230653303 0x695ad20} false}
2024/07/17 03:18:22 ...eb/routing/logger.go:102:func1() [I] router: completed GET / for 172.23.0.4:60722, 200 OK in 35793.8ms @ web/home.go:32(web.Home)

Screenshots

image
image

Git Version

2.40.1

Operating System

centos 7

How are you running Gitea?

docker gitea

Database

SQLite

@maxid maxid added the type/bug label Jul 17, 2024
@maxid maxid changed the title When visit homepage( / ), loading long time When visit startpage( / ), loading long time Jul 17, 2024
@maxid maxid changed the title When visit startpage( / ), loading long time When after login visit startpage( / ), loading long time Jul 17, 2024
@yp05327 yp05327 added the performance/speed performance issues with slow downs label Jul 22, 2024
@lunny
Copy link
Member

lunny commented Aug 18, 2024

Can you post slow logs?

@techknowlogick
Copy link
Member

How many repositories do you have? What cache type are you using?

@lunny
Copy link
Member

lunny commented Sep 24, 2024

Duplicate of #31582. The loading time is unrelated to the repositories amount of right sidebar.

@lunny lunny closed this as completed Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance/speed performance issues with slow downs type/bug
Projects
None yet
Development

No branches or pull requests

4 participants