1
0
Fork 0

Merge pull request #3078 from Subv/ac_sessions

Services/AC: Corrected the number of concurrent connections for AC_I and AC_U
This commit is contained in:
bunnei 2017-11-06 13:21:29 -05:00 committed by GitHub
commit 6e12b11353
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -7,8 +7,7 @@
namespace Service { namespace Service {
namespace AC { namespace AC {
// TODO(Subv): Find out the correct number of concurrent sessions allowed AC_I::AC_I(std::shared_ptr<Module> ac) : Module::Interface(std::move(ac), "ac:i", 10) {
AC_I::AC_I(std::shared_ptr<Module> ac) : Module::Interface(std::move(ac), "ac:i", 1) {
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0x00010000, &AC_I::CreateDefaultConfig, "CreateDefaultConfig"}, {0x00010000, &AC_I::CreateDefaultConfig, "CreateDefaultConfig"},
{0x00040006, &AC_I::ConnectAsync, "ConnectAsync"}, {0x00040006, &AC_I::ConnectAsync, "ConnectAsync"},

View File

@ -7,8 +7,7 @@
namespace Service { namespace Service {
namespace AC { namespace AC {
// TODO(Subv): Find out the correct number of concurrent sessions allowed AC_U::AC_U(std::shared_ptr<Module> ac) : Module::Interface(std::move(ac), "ac:u", 10) {
AC_U::AC_U(std::shared_ptr<Module> ac) : Module::Interface(std::move(ac), "ac:u", 1) {
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0x00010000, &AC_U::CreateDefaultConfig, "CreateDefaultConfig"}, {0x00010000, &AC_U::CreateDefaultConfig, "CreateDefaultConfig"},
{0x00040006, &AC_U::ConnectAsync, "ConnectAsync"}, {0x00040006, &AC_U::ConnectAsync, "ConnectAsync"},