mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-09 20:29:23 +02:00
fix(dns): retry on next period the blocklists update after a failed update
- Fix #3053
This commit is contained in:
@@ -35,6 +35,8 @@ func (l *Loop) RunRestartTicker(ctx context.Context, done chan<- struct{}) {
|
|||||||
l.statusManager.SetStatus(constants.Crashed)
|
l.statusManager.SetStatus(constants.Crashed)
|
||||||
l.logger.Error(err.Error())
|
l.logger.Error(err.Error())
|
||||||
l.logger.Warn("skipping DNS server restart due to failed files update")
|
l.logger.Warn("skipping DNS server restart due to failed files update")
|
||||||
|
settings := l.GetSettings()
|
||||||
|
timer.Reset(*settings.DoT.UpdatePeriod)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user