Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software:2222/vole.git

A free and open-source forge that lives in your Git repo.

Drop the queue and runner line under the overview cards

f11854fe81dcdd66f94306f04355014a46c0d88a · Keenan Nemetz · 5d ago · parent 9a2a270b

Drop the queue and runner line under the overview cards

Those counts belong to the Runners tab. Removing the line also lets the
overview stop reading runner sessions and queue depth it no longer shows,
so the page costs one less read.

Refs #198 (01M6MK0NNZ2XR1D5TQKNWYT4HN).

server/web/status.go −10

@@ -103,16 +103,6 @@ func (w *Web) fillStatusView(view *adminPageView) {
103 103 view.Repos = len(repos)
104 104 }
105 105 }
106 sessions, queue, runnerProblems := w.runnerStatus()
107 view.RunnerSessions, view.RunnerQueue = sessions, queue
108 view.RunnerWindow = presenceWindow.String()
109 view.RunnerErr = strings.Join(runnerProblems, "; ")
110 view.Runners = len(sessions)
111 for _, depth := range queue {
112 view.Queued += depth.Queued
113 view.Running += depth.Running
114 }
115
116 106 if w.PageViews != nil {
117 107 stats, err := w.PageViews.Stats(time.Now().UTC())
118 108 view.Views = statusViewsView{Today: stats.Today, Week: stats.Week, Month: stats.Month}