Quiet gunicorn's control socket error; contract doc: memory is live #13

Merged
jared merged 1 commits from quiet-gunicorn-docs into main 2026-11-27 11:55:59 -05:00
3 changed files with 5 additions and 3 deletions

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ Group=thor
WorkingDirectory=/opt/thor/app
# THOR_SHA, written by thor_deploy.sh: the commit /health reports.
EnvironmentFile=-/opt/thor/revision.env
ExecStart=/opt/thor/venv/bin/gunicorn --workers 2 --bind 127.0.0.1:8000 --access-logfile - thor.web.wsgi:app
ExecStart=/opt/thor/venv/bin/gunicorn --workers 2 --bind 127.0.0.1:8000 --no-control-socket --access-logfile - thor.web.wsgi:app
Restart=always
RestartSec=5
NoNewPrivileges=true
+3 -1
View File
@@ -47,7 +47,9 @@ Authorization: Bearer <your app's key>
```
- **`covered`** is true only when there is a ticket you can comment on: an incident with a live
ticket, or a known condition with a tracking ticket. **`ticket_id`** is that ticket.
- While a Thor check runs in **shadow** (all of phase 1), its incidents are listed with
- Each Thor check is off, shadow or live (set per check in `/etc/thor/thor.json`). Since
2026-11-27 the memory check is **live**; reboots, fencing and Ceph are still in shadow.
- While a Thor check runs in **shadow**, its incidents are listed with
`"mode": "shadow"` and `"ticket_id": null`, and they do **not** make `covered` true: there is
nothing in Tinker to comment on, so open your own ticket. Logging the shadow incident's key
next to your ticket helps the comparison before Thor goes live.
+1 -1
View File
@@ -1,5 +1,5 @@
flask>=3.0
gunicorn>=22
gunicorn>=27 # --no-control-socket (deploy/systemd/thor.service)
pymysql>=1.1
requests>=2.32
pyjwt[crypto]>=2.9