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

Slow loading at each page refresh #3471

Open
lcfd opened this issue Feb 5, 2024 · 1 comment
Open

Slow loading at each page refresh #3471

lcfd opened this issue Feb 5, 2024 · 1 comment
Labels

Comments

@lcfd
Copy link

lcfd commented Feb 5, 2024

Hi!

I'm running Gitness behind Traefik.
It's working fine, but the loading time at each page refresh is long and strange.
Once loaded the UX is smooth and quick.

Apparently Memory consumption is more than ok.

CleanShot 2024-02-05 at 17 36 25

Here is the service in docker-compose.yml.

  gitness:
    container_name: gitness
    image: harness/gitness
    restart: always
    labels:
      - traefik.enable=true
      - traefik.http.routers.gitness.tls=true
      - traefik.http.routers.gitness.entrypoints=websecure
      - traefik.http.routers.gitness.tls.certresolver=letsencrypt
      - traefik.http.routers.gitness.rule=Host(`gitness.my.domain`)
      - traefik.http.services.gitness.loadbalancer.server.port=3000
    environment:
      - GITNESS_URL_BASE=https://gitness.my.domain
      - GITNESS_USER_SIGNUP_ENABLED=false
      - GITNESS_DEBUG=false
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ./gitness:/data
    networks:
      - traefik_proxy

Am I missing something? Thank you for your help.

@johannesHarness
Copy link
Collaborator

Hey @lcfd, are you able to bypass traefik to verify if you still see the same slow initial loading times?
If that's the case, would you be able to provide some more details on what exact calls are taking longer when refreshing a page?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants