fix logging names

This commit is contained in:
Andre Medeiros 2023-03-16 10:07:36 -04:00
parent f9fd53610f
commit 88223e6155

View file

@ -507,7 +507,7 @@ func enqueueAccounts(ctx context.Context, logger *zap.Logger, statsd *statsd.Cli
if len(enqueued) == 0 {
logger.Info("no viable candidates to enqueue",
zap.Int("offset", offset),
zap.Int("attempts", len(ids)),
zap.Int("candidates", len(ids)),
zap.Int("enqueued", len(enqueued)),
)
return
@ -525,7 +525,7 @@ func enqueueAccounts(ctx context.Context, logger *zap.Logger, statsd *statsd.Cli
logger.Info("enqueued account batch",
zap.Int("offset", offset),
zap.Int("attempts", len(ids)),
zap.Int("candidates", len(ids)),
zap.Int("enqueued", len(enqueued)),
)
}(ctx, i)