diff options
| -rw-r--r-- | internal/clients/maprclient.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/clients/maprclient.go b/internal/clients/maprclient.go index 074494c..246946f 100644 --- a/internal/clients/maprclient.go +++ b/internal/clients/maprclient.go @@ -137,6 +137,10 @@ func (c MaprClient) makeCommands() (commands []string) { } func (c *MaprClient) periodicReportResults(ctx context.Context) { + rampUpSleep := c.query.Interval / 2 + dlog.Client.Debug("Ramp up sleeping before processing mapreduce results", rampUpSleep) + time.Sleep(rampUpSleep) + for { select { case <-time.After(c.query.Interval): |
