Commit 5846ab68d5
Verified · cmc
Layout: unified · split
Admin.org +19
| @@ -202,6 +202,25 @@ per minute — successful auths never count and clear the slate. | ||
| 202 | 202 | =limits.max_pack_bytes= is enforced as =receive.maxInputSize= on every |
| 203 | 203 | push. |
| 204 | 204 | |
| 205 | * Queues | |
| 206 | ||
| 207 | Every background worker keeps a backlog and a failure state. An instance | |
| 208 | admin reads them all in one place: | |
| 209 | ||
| 210 | #+begin_src sh | |
| 211 | gitbay dashboard --json | jq .queues # webhooks, mail, mirrors, builds, deps | |
| 212 | #+end_src | |
| 213 | ||
| 214 | Per worker: pending, retrying (pending with a failed attempt) and | |
| 215 | dead-lettered counts with the oldest pending age, and the retrying or | |
| 216 | failed rows themselves, capped at twenty each. Builds list what is | |
| 217 | running and since when; mirrors list the ones whose last sync failed; | |
| 218 | dependency checks list the ones whose last check errored. Non-admins get | |
| 219 | no =queues= key at all. | |
| 220 | ||
| 221 | In accounts mode the same read renders at =/admin=, linked from the rail | |
| 222 | for admins. Anyone else gets a 404 there. | |
| 223 | ||
| 205 | 224 | * Maintenance |
| 206 | 225 | |
| 207 | 226 | #+begin_src sh |