Watch
1
0
Fork
You've already forked RedFlag
0
RedFlag/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Fimeg 82018bfb80 taught the rocks to stop tripping over each other under load
server was sized for a campfire, not a fleet. 25 db connections, every agent
report flinging goroutines into the void, the syncer plodding one repo at a
time while clutching a lock nobody needed. loosened the choke points:

- db pool 25 -> 100 + connection lifetime, all env-tunable
- bounded pool for the report-path fire-and-forget work; /health/tasks to
  watch it breathe. no more unbounded goroutine spray per report
- upstream syncer runs concurrent now, dropped the dead mutex around repology
  fetches, reconciler single-flights instead of locking through the whole crawl
- scheduler caps jobs per tick so an aligned fleet can't stampede the db
- swatted a context-cancel bug that was quietly killing immediate syncs

builds clean, race detector's calm.
2026-06-07 19:17:08 -04:00
..
cmd/server taught the rocks to stop tripping over each other under load 2026-06-07 19:17:08 -04:00
internal taught the rocks to stop tripping over each other under load 2026-06-07 19:17:08 -04:00
.env.example refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00
docker-entrypoint.sh refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00
Dockerfile feat: helper distribution pipeline + dnf discovery/resolve fixes for live gate 2026-05-29 22:04:38 -04:00
go.mod swap uuid lib, windows installer pass, README/RAF copy 2026-06-03 15:39:49 -04:00
go.sum swap uuid lib, windows installer pass, README/RAF copy 2026-06-03 15:39:49 -04:00