Increase max accounts to 8
This commit is contained in:
@@ -143,9 +143,24 @@ ConnectionsManager& ConnectionsManager::getInstance(int32_t instanceNum) {
|
||||
static ConnectionsManager instance1(1);
|
||||
return instance1;
|
||||
case 2:
|
||||
default:
|
||||
static ConnectionsManager instance2(2);
|
||||
return instance2;
|
||||
case 3:
|
||||
static ConnectionsManager instance2(2);
|
||||
return instance3;
|
||||
case 4:
|
||||
static ConnectionsManager instance2(2);
|
||||
return instance4;
|
||||
case 5:
|
||||
static ConnectionsManager instance2(2);
|
||||
return instance5;
|
||||
case 6:
|
||||
static ConnectionsManager instance2(2);
|
||||
return instance6;
|
||||
case 7:
|
||||
default:
|
||||
static ConnectionsManager instance2(2);
|
||||
return instance7;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#define DOWNLOAD_CONNECTIONS_COUNT 2
|
||||
#define UPLOAD_CONNECTIONS_COUNT 4
|
||||
#define CONNECTION_BACKGROUND_KEEP_TIME 10000
|
||||
#define MAX_ACCOUNT_COUNT 3
|
||||
#define MAX_ACCOUNT_COUNT 8
|
||||
#define USE_DELEGATE_HOST_RESOLVE
|
||||
|
||||
#define USE_IPV4_ONLY 0
|
||||
|
||||
Reference in New Issue
Block a user