mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-27 16:07:42 +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 #5029 License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
@ -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)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user