summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-03-02 10:47:04 +0000
committerXiao Pan <gky44px1999@gmail.com>2024-03-02 10:47:55 +0000
commite336a1eba3ddb3f002ca3b73c2144b51199e5296 (patch)
tree92167c2dfb2c3a0ebf16525ad9e8b952c26e333b /etc
parent8d90d7a786603811129bd10885365c4d0f4c1fac (diff)
Try make cgit log page load faster.
It took about 7 seconds to load https://git.flylightning.xyz/config_local_arch/log/ in the past. Now try disable some features to try to make it faster.
Diffstat (limited to 'etc')
-rw-r--r--etc/cgitrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/cgitrc b/etc/cgitrc
index d9362b44..c6bfd198 100644
--- a/etc/cgitrc
+++ b/etc/cgitrc
@@ -12,10 +12,10 @@ enable-follow-links=1
# useful but may makes page generation slow, maybe disable
# can see the log via `journalctl -b -u uwsgi@cgit` and search less pager with sth. like `/[0-9]{3} msecs`
enable-blame=1
-enable-log-filecount=1
-enable-log-linecount=1
+#enable-log-filecount=1
+#enable-log-linecount=1
# showing branch merge, ex: https://git.flylightning.xyz/dwm_fly/log/?h=fly
-enable-commit-graph=1
+#enable-commit-graph=1
# not very useful, maybe disable
enable-subject-links=1