From f32c8348de5bbfc458ed6ca56db2adc2ad5189a5 Mon Sep 17 00:00:00 2001 From: Nathan Pierce Date: Tue, 22 Oct 2024 09:05:04 -0500 Subject: [PATCH] fixed the sleep_interval being ignored --- main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/main.go b/main.go index 9b5f47e..0557b2a 100644 --- a/main.go +++ b/main.go @@ -426,7 +426,6 @@ func worker(parentCtx context.Context, logger *slog.Logger, loadedConfig config. metricsData.SetStatus(pluginCtx, logger, "idle") select { case <-time.After(time.Duration(plugin.SleepInterval) * time.Second): - fmt.Println("======================================") case <-pluginCtx.Done(): logging.DevDebug(pluginCtx, "plugin for loop::default::pluginCtx.Done()") break