Updater loop with period and http route (#240)
* Updater loop with period and http route * Using DNS over TLS to update servers * Better logging * Remove goroutines for cyberghost updater * Respects context for servers update (quite slow overall) * Increase shutdown grace period to 5 seconds * Update announcement * Add log lines for each provider update start
This commit is contained in:
@@ -110,6 +110,8 @@ type Reader interface {
|
||||
GetPublicIPPeriod() (period time.Duration, err error)
|
||||
|
||||
GetVersionInformation() (enabled bool, err error)
|
||||
|
||||
GetUpdaterPeriod() (period time.Duration, err error)
|
||||
}
|
||||
|
||||
type reader struct {
|
||||
|
||||
Reference in New Issue
Block a user