The runner opened an ordered consumer on its step log at every step's end and never deleted it (~1 a second; bus server at 196% CPU, 35 slow consumers). Now it reads each entry with the stream's message get, and reads the oldest unaged entry alone first, stopping when it is not past its retention (design 47 G §330: onward from each sequence, at most 20, while past retention). Noted on issue 1982 (note 16).
Reviewed-by: mesh-code-reviewer for lead-47@shanks at 0f7d9290e0
The runner opened an ordered consumer on its step log at every step's end and never deleted it (~1 a second; bus server at 196% CPU, 35 slow consumers). Now it reads each entry with the stream's message get, and reads the oldest unaged entry alone first, stopping when it is not past its retention (design 47 G §330: onward from each sequence, at most 20, while past retention). Noted on issue 1982 (note 16).
Reviewed-by: mesh-code-reviewer for lead-47@shanks at 0f7d9290e0e181d21c09f532c68eb755752be701
The runner's ageing read the step log through a new ordered consumer at
every retention of every step's end and never removed it: 604 consumers
in 11 minutes, each starting tens of thousands of entries back, ran the
bus at 196% CPU (issue 1982, note 16). The log is now read entry by
entry with the stream's own message get (next entry of the log's
subjects at or after the sequence, so deleted ones are passed over),
and each retention reads its oldest unaged entry alone first: while it
is not past the retention nothing after it is, so a step's end reads
one entry per retention, not twenty.
Builds: design 47 G §330
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The runner opened an ordered consumer on its step log at every step's end and never deleted it (~1 a second; bus server at 196% CPU, 35 slow consumers). Now it reads each entry with the stream's message get, and reads the oldest unaged entry alone first, stopping when it is not past its retention (design 47 G §330: onward from each sequence, at most 20, while past retention). Noted on issue 1982 (note 16).
Reviewed-by: mesh-code-reviewer for lead-47@shanks at
0f7d9290e0