Open richardbeumer opened 6 months ago
The repository name search on dashboard just a database like operation. It's weird.
I will have a look at our database then. Strange thing is that most search queries give a good response where other queries are slow.
What type database are you using with Gitea?
We are running on Postgres.
I have the same problem . 1.21.5 works fine on FreeBSD14.1release/amd64/postgresql15,but 1.21.6 shows slow router and can't edit with sqlite or postgresql . FYI, v1.21.11 and v1.22.0 work fine on FreeBSD14.1release/amd64/postgresql15 .
I run Gitea 1.22.1 with PostgreSQL 16 on NUC with 4 Cores and Ubuntu 22.04.x server. And I have ~22000 projects and the search ist fast. The question is how is your database configured. How much memory, work_mem, ... All this has an impact on the speed. And when you see the wuery in postgresql.log or gitea.log, than just try explain analyse sql in an db client to see what happens.
Description
After updating Gitea from version 1.21.5 to 1.21.10 performance of repository search is much slower as before. Repo search was near instant and now taking up around 8 seconds.
We are using Elastic as repo indexer.
Logs show:
Screenshots
Gitea Version
1.21.10
Can you reproduce the bug on the Gitea demo site?
No
Operating System
kubernetes/container image
Browser Version
Chrome 124 / Firefox 125