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

Mirror Repository have error commit count after sync #3391

Closed
2 of 7 tasks
qianlongzt opened this issue Jan 18, 2018 · 4 comments
Closed
2 of 7 tasks

Mirror Repository have error commit count after sync #3391

qianlongzt opened this issue Jan 18, 2018 · 4 comments
Labels
Milestone

Comments

@qianlongzt
Copy link

sorry for my pool english.

  • Gitea version (or commit ref): 1.3.2 built with: bindata, sqlite
  • Git version: 2.15.1
  • Operating system: Ubuntu16.04 LTS
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io/qianlongzt/HDU-Guide/commits/branch/master
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

First Migration, commits count is right, if up-stream have more commits, after sync, mirror repository have error commit count

Screenshots

image

@lafriks
Copy link
Member

lafriks commented Jan 18, 2018

Caching on mirror sync seems like are not reset

@qianlongzt
Copy link
Author

image

after a lot of sync, the count of commit is right. I set sync every hours(1h0m0s)

@lafriks
Copy link
Member

lafriks commented Jan 18, 2018

Commit count is cached four 16 hours by default, so it will display correct count eventually

@cez81
Copy link
Contributor

cez81 commented Oct 21, 2018

@lafriks Resolved in #4720

@lafriks lafriks closed this as completed Oct 21, 2018
@lunny lunny added this to the 1.6.0 milestone Oct 22, 2018
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants