Revert "chore(s3/lifecycle): trim verbose comments"

This reverts commit 11b98ee873.
This commit is contained in:
Chris Lu committed 2026-05-11 19:27:55 -07:00
1 parent 11b98ee873
commit d57015c995
9 files changed
+179 -40

No files matched your search

+6
View File
@@ -649,6 +649,12 @@ func (r *Plugin) executeJobWithExecutor(
return nil, err
}
// Apply per-job-type cluster-allocation decoration (e.g. s3_lifecycle
// divides cluster_deletes_per_second by min(workers, maxJobsPerDetection)
// and ships the share via ClusterContext.Metadata). No-op for job
// types without an allocator registered. MaxJobsPerDetection caps
// the divisor so a singleton job (maxJobs=1) gets the full budget on
// the single active worker, not 1/N of it.
clusterContext = r.decorateClusterContextForJob(clusterContext, job.JobType, adminConfigValues, int(adminRuntime.GetMaxJobsPerDetection()))
completedCh := make(chan *plugin_pb.JobCompleted, 1)