Feature: improve Cyberghost updater

- Waits up to 20s for resolutions
- Update server information and timestamp
This commit is contained in:
Quentin McGaw (desktop)
2021-06-21 20:29:55 +00:00
parent dd97ff5895
commit 3f7ccc6c49
4 changed files with 175 additions and 125 deletions

View File

@@ -8,7 +8,7 @@ func GetAllServers() (allServers models.AllServers) {
Version: 1, // used for migration of the top level scheme
Cyberghost: models.CyberghostServers{
Version: 2, // model version
Timestamp: 1620491290, // latest takes precedence
Timestamp: 1624307338, // latest takes precedence
Servers: CyberghostServers(),
},
Fastestvpn: models.FastestvpnServers{