Services/AC: Corrected the number of concurrent connections for AC_I and AC_U

The number was reverse engineered from the AC module.
This commit is contained in:
Subv 2017-11-05 14:28:06 -05:00
parent 4fc0448093
commit d4077b0196
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"},