uplink/ecclient: Report success in debug level (#3037)
Packages shouldn't be chatty when the things go as expected unless the DEBUG log level is set.
This commit is contained in:
parent
4266f8c364
commit
8a48500ba4
@ -143,7 +143,7 @@ func (ec *ecClient) Put(ctx context.Context, limits []*pb.AddressedOrderLimit, p
|
||||
atomic.AddInt32(&successfulCount, 1)
|
||||
|
||||
if int(successfulCount) >= rs.OptimalThreshold() {
|
||||
ec.log.Info("Success threshold reached. Cancelling remaining uploads.",
|
||||
ec.log.Debug("Success threshold reached. Cancelling remaining uploads.",
|
||||
zap.Int("Optimal Threshold", rs.OptimalThreshold()),
|
||||
)
|
||||
cancel()
|
||||
|
Loading…
Reference in New Issue
Block a user