From 1c7c0dbb5174b5255912183b9ec5870ccdef3426 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 10 Sep 2020 14:57:52 +0100 Subject: printing client stats every other second only if the connection count has changed or when SIGUSR1 or SIGINFO recieved --- internal/server/continuous.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/server/continuous.go') diff --git a/internal/server/continuous.go b/internal/server/continuous.go index f3993a1..583d136 100644 --- a/internal/server/continuous.go +++ b/internal/server/continuous.go @@ -92,7 +92,7 @@ func (c *continuous) runJob(ctx context.Context, job config.Continuous) { } logger.Info(fmt.Sprintf("Starting job %s", job.Name)) - status := client.Start(jobCtx) + status := client.Start(jobCtx, make(chan struct{})) logMessage := fmt.Sprintf("Job exited with status %d", status) if status != 0 { -- cgit v1.2.3