From da0b804d18558d8de74394408e67b2f42e1cf9b8 Mon Sep 17 00:00:00 2001 From: John Roesler Date: Tue, 14 Nov 2023 09:59:48 -0600 Subject: [PATCH] remove extra logging in executor --- executor.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/executor.go b/executor.go index 6ead0b9..5117c40 100644 --- a/executor.go +++ b/executor.go @@ -291,7 +291,6 @@ func (e *executor) limitModeRunner(name string, in chan uuid.UUID, wg *waitGroup for { select { case id := <-in: - e.logger.Info("limitModeRunner got job", id) select { case <-e.ctx.Done(): e.logger.Debug("limitModeRunner shutting down", "name", name) @@ -303,11 +302,9 @@ func (e *executor) limitModeRunner(name string, in chan uuid.UUID, wg *waitGroup ctx, cancel := context.WithCancel(e.ctx) j := requestJobCtx(ctx, id, e.jobOutRequest) if j != nil { - e.logger.Info("limitModeRunner running job", id) e.runJob(*j) } cancel() - e.logger.Info("limitModeRunner finished job", id) // remove the limiter block to allow another job to be scheduled if limitMode == LimitModeReschedule { @@ -316,7 +313,6 @@ func (e *executor) limitModeRunner(name string, in chan uuid.UUID, wg *waitGroup default: } } - e.logger.Info("limitModeRunner job done", id) case <-e.ctx.Done(): e.logger.Debug("limitModeRunner shutting down", "name", name) wg.Done()