diff options
| author | Paul Buetow <pbuetow@mimecast.com> | 2020-09-10 14:57:52 +0100 |
|---|---|---|
| committer | Paul Buetow <pbuetow@mimecast.com> | 2020-09-10 14:57:52 +0100 |
| commit | 1c7c0dbb5174b5255912183b9ec5870ccdef3426 (patch) | |
| tree | 50a5e492ac42221178320fb06a16c34e1b0a4bba /internal/server/continuous.go | |
| parent | 40cbef0c243042521bdf589b3c4549ff32508592 (diff) | |
printing client stats every other second only if the connection count has changed or when SIGUSR1 or SIGINFO recieved
Diffstat (limited to 'internal/server/continuous.go')
| -rw-r--r-- | internal/server/continuous.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
