This commit is contained in:
ponzischeme89
2026-08-19 14:25:44 +12:00
parent 2b43b9ef12
commit 590e069366
83 changed files with 8948 additions and 1266 deletions
+4
View File
@@ -95,6 +95,10 @@ type Server struct {
// ratingsWarm fills and renews the durable rating cache behind the viewer, so a row
// never waits on MDBList and the operator's daily allowance is spent once per title.
ratingsWarm ratingsWarmer
// integrationHealth is what the last reachability probe found for each external
// service. Cached rather than probed on request because the console polls: every open
// tab would otherwise be its own request against somebody's Sonarr.
integrationHealth integrationHealthCache
// alertMu serialises the read-modify-write of the shared alert list. Its producers
// are events — a webhook, a finished sync, a health probe — none of them paced by
// this server, so two can land at once.