go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
45.3k stars 5.51k forks source link

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

Closed maxid closed 2 months ago

maxid commented 4 months ago

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

lunny commented 3 months ago

Can you post slow logs?

techknowlogick commented 3 months ago

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

lunny commented 2 months ago

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