mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
add two more cloud servers to the rotation
This is not a great way to load-balance, but it works and doesn't require high end hardware on the backend. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b3d2a8cdcb
commit
7792e227da
3 changed files with 10 additions and 2 deletions
|
|
@ -103,7 +103,9 @@ bool CheckCloudConnection::nextServer()
|
|||
};
|
||||
static struct serverTried cloudServers[] = {
|
||||
{ CLOUD_HOST_EU, false },
|
||||
{ CLOUD_HOST_US, false }
|
||||
{ CLOUD_HOST_US, false },
|
||||
{ CLOUD_HOST_E2, false },
|
||||
{ CLOUD_HOST_U2, false }
|
||||
};
|
||||
const char *server = nullptr;
|
||||
for (serverTried &item: cloudServers) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue