mark workgroups as done
This commit is contained in:
parent
88223e6155
commit
8dd6242bff
|
@ -496,6 +496,8 @@ func enqueueAccounts(ctx context.Context, logger *zap.Logger, statsd *statsd.Cli
|
|||
for i := 0; i < accountEnqueueSeconds; i++ {
|
||||
wg.Add(1)
|
||||
go func(ctx context.Context, offset int) {
|
||||
defer wg.Done()
|
||||
|
||||
ids := chunks[offset]
|
||||
time.Sleep(time.Duration(offset) * time.Second)
|
||||
|
||||
|
|
Loading…
Reference in New Issue