chore(lab5): remove stale templates and refresh source comments

This commit is contained in:
Mikhail Verkovykh
2026-11-20 19:05:23 +03:00
parent fec2882c9a
commit 1ce93185af
49 changed files with 33 additions and 5324 deletions
+2 -1
View File
@@ -152,7 +152,8 @@ func NewConsumer(url, queue string, logger *slog.Logger) *Consumer {
// Run reconnects until ctx is cancelled. concurrency bounds simultaneous
// handlers in this process; prefetch bounds unacked messages the broker may
// push. The two knobs are intentionally separate for the lab5 experiment.
// push. The two knobs are intentionally separate so throughput and in-flight
// memory can be measured independently.
func (c *Consumer) Run(ctx context.Context, concurrency, prefetch int, handler Handler) error {
for {
if ctx.Err() != nil {