You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When auto gc occurs, the actual repo size is shrinked, but the repo size on web interface isn't updated accordingly.
For example, today I pushed recent commits on git.git (Git SCM repo) to my local Gitea instance, then auto gc was invoked.
After auto gc, the repo size was about 132 MiB, but on the web interface the size was still 211 MiB (before gc)
Screenshots
on web interface, repo size: 211 MiB git count-objects -v when accessing the interface, repo size: 132 MiB
The text was updated successfully, but these errors were encountered:
bagasme
changed the title
Repo size on web doesn't updated after Auto GC
Repo size on web isn't updated after Auto GC
Mar 3, 2021
UpdateSize is only called during PushUpdates - I guess the auto gc happened after PushUpdates was called.
I'm not really sure what we can do - updating size is an expensive function. The only thing I can imagine is a cron task that can be called to update things.
[x]
):Description
When auto gc occurs, the actual repo size is shrinked, but the repo size on web interface isn't updated accordingly.
For example, today I pushed recent commits on
git.git
(Git SCM repo) to my local Gitea instance, then auto gc was invoked.After auto gc, the repo size was about 132 MiB, but on the web interface the size was still 211 MiB (before gc)
Screenshots
on web interface, repo size: 211 MiB
git count-objects -v when accessing the interface, repo size: 132 MiB
The text was updated successfully, but these errors were encountered: