-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Compare changes very slowly! #3926
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
Comments
I'm using gitea over two weeks running on a t2.small instance. I'm using docker image version 1.4.0 with postgres 9.6 and Git 2.15.0 and nginx as inversed proxy and I'm impress of the performance all is very quickly (I've migrated from gitlab) here's my docker-compose.yml version: "3"
networks:
gitea_app:
external: false
services:
gitea_app:
image: gitea/gitea:1.4.0
environment:
- SSH_DOMAIN=yourdomain.com
- ROOT_URL=https://git.yourdomain.com
- USER_UID=1000
- USER_GID=1000
- RUN_MODE=prod
- DB_TYPE=postgres
- DB_HOST=gitea_postgres
- DB_NAME=gitea
- DB_USER=gitea
- DB_PASSWD=gitea
restart: always
networks:
- gitea_app
volumes:
- ./gitea_app_data:/data
ports:
- "3000:3000"
- "22:22"
depends_on:
- gitea_postgres
gitea_postgres:
image: postgres:9.6
restart: always
environment:
- POSTGRES_USER=gitea
- POSTGRES_PASSWORD=gitea
- POSTGRES_DB=gitea
networks:
- gitea_app
volumes:
- ./gitea_postgres_data:/var/lib/postgresql/data
gitea_web:
image: nginx:alpine
restart: always
volumes:
- ./gitea_web_data:/etc/nginx/conf.d
- ./gitea_web_data/cache:/cache
ports:
- "80:80"
- "443:443"
networks:
- gitea_app
depends_on:
- gitea_app the only optimization I did was add some cache for static resources on nginx, but nothing more |
@misterpoesy need more details. |
In my case is a little slow too, repo is very big, an solution is add gauge/loading image for feedback to user. It's possible? If yes, is good add too in apply merge pull request, what is very slow too e no exixsts feedback to user, only the loading in the browser title. My repo size is: 1,8 GB. Issue related: #601 |
@webjoel oof looks like a job for https://rtyley.github.io/bfg-repo-cleaner/ |
[x]
):Description
When create new pull request, compare two branches very slowly, result to nginx timeout (┬_┬).
How can i do some optimization?
Screenshots
The text was updated successfully, but these errors were encountered: