vole
Site
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software/vole.git
Self-hosted forge that lives in your Git repo.
Remove page-view tracking
0a12642f6c01236d1fbd4ee06aaa2bd2283c6bf0 · Keenan Nemetz · 3d ago · parent 8f6548a6
Remove page-view tracking Counting a page wrote a row to instance.db on every successful HTML GET, so reading the instance contended with CI and the merge worker for the one write lock. The counters answered one status page and were not part of what a restore has to keep, so the feature is gone rather than moved. The status overview loses its page-view card and table; the rest of the Admin page is unchanged. An instance that recorded views keeps the old page_views table in instance.db, which nothing reads. Refs #398
forge/config/config.go +1−1
| @@ -280,7 +280,7 @@ func (c *Config) ReposDir() string { return filepath.Join(c.DataDir, "repos") } | |||
| 280 | 280 | ||
| 281 | 281 | // InstanceDB is the one database of authoritative instance state: accounts and | |
| 282 | 282 | // the names they have ever held, SSH keys, passkeys, browser sessions, access | |
| 283 | // rules, LFS locks, page-view counters, release channels, the CI queue and run | ||
| 283 | // rules, LFS locks, release channels, the CI queue and run | ||
| 284 | 284 | // history, and the sealed secret store. None of it is derived from Git and none | |
| 285 | 285 | // of it is rebuilt by an index rebuild, which is why it is one file: everything | |
| 286 | 286 | // here has to survive a restore together. | |