Skip to content

Commit

Permalink
fixed the sleep_interval being ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
NorseGaud committed Oct 22, 2024
1 parent 91fdc80 commit f32c834
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f32c834

Please sign in to comment.