gitea: a merge poll looks only at repositories that moved, one pass at a time (hq issue 250) #66

Merged
mesh-admin merged 1 commits from fix/the-merge-poll-looks-only-at-what-moved into main 2026-10-05 16:12:14 +00:00
1 Commits
Author SHA1 Message Date
jochen 52b81d524c gitea: a merge poll looks only at repositories that moved, one pass at a time
With the poll the only announcer of a merge, its cost showed: every 30 s it
asked every repository for its pull requests, a pass outlasted the tick, and
passes piled up beside each other — a merge was announced four and a half
minutes late, and two passes at once could each announce it. A pass now asks
only repositories updated since a minute before the last look, and the next
pass starts when this one ends. hq issue 250.
2026-10-05 18:12:11 +02:00