1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-07-28 14:43:11 +08:00

reduce log level when we can't republish

This is almost never an error, it just means we don't have any connections. We
could leave this at Warning but we'd like to be able to turn those on by
default at some point.

fixes 

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
Steven Allen
2018-06-06 21:36:30 -07:00
parent fc05376e94
commit 82ddae2ba9

@ -72,7 +72,7 @@ func (rp *Republisher) Run(proc goprocess.Process) {
timer.Reset(rp.Interval) timer.Reset(rp.Interval)
err := rp.republishEntries(proc) err := rp.republishEntries(proc)
if err != nil { if err != nil {
log.Error("Republisher failed to republish: ", err) log.Info("republisher failed to republish: ", err)
if FailureRetryInterval < rp.Interval { if FailureRetryInterval < rp.Interval {
timer.Reset(FailureRetryInterval) timer.Reset(FailureRetryInterval)
} }