Skip to content

Commit

Permalink
Add MaxDispatches connection property (#2603)
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardnormier authored Aug 2, 2024
1 parent 5d4f24b commit ce4245e
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 5 deletions.
1 change: 1 addition & 0 deletions config/PropertyNames.xml
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ generated from the section label.
<suffix name="EnableIdleCheck" default="1" />
<suffix name="IdleTimeout" default="60" />
<suffix name="InactivityTimeout" default="300" />
<suffix name="MaxDispatches" default="100" />
</class>

<class name="threadpool" prefix-only="true">
Expand Down
23 changes: 22 additions & 1 deletion cpp/src/Ice/PropertyNames.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) ZeroC, Inc. All rights reserved.

// Generated by makeprops.py from PropertyNames.xml, Tue Jul 2 13:49:12 2024
// Generated by makeprops.py from PropertyNames.xml, Thu Aug 1 16:32:24 2024

// IMPORTANT: Do not edit this file -- any edits made here will be lost!

Expand All @@ -14,6 +14,7 @@ const IceInternal::Property IcePropsData[] = {
IceInternal::Property("Ice.Admin.Connection.EnableIdleCheck", false, "1", false),
IceInternal::Property("Ice.Admin.Connection.IdleTimeout", false, "60", false),
IceInternal::Property("Ice.Admin.Connection.InactivityTimeout", false, "300", false),
IceInternal::Property("Ice.Admin.Connection.MaxDispatches", false, "100", false),
IceInternal::Property("Ice.Admin.Connection", false, "", false),
IceInternal::Property("Ice.Admin.Endpoints", false, "", false),
IceInternal::Property("Ice.Admin.Locator.EndpointSelection", false, "", false),
Expand Down Expand Up @@ -67,6 +68,7 @@ const IceInternal::Property IcePropsData[] = {
IceInternal::Property("Ice.Connection.EnableIdleCheck", false, "1", false),
IceInternal::Property("Ice.Connection.IdleTimeout", false, "60", false),
IceInternal::Property("Ice.Connection.InactivityTimeout", false, "300", false),
IceInternal::Property("Ice.Connection.MaxDispatches", false, "100", false),
IceInternal::Property("Ice.Connection", false, "", false),
IceInternal::Property("Ice.ConsoleListener", false, "1", false),
IceInternal::Property("Ice.Default.CollocationOptimized", false, "1", false),
Expand Down Expand Up @@ -201,6 +203,7 @@ const IceInternal::Property IceDiscoveryPropsData[] = {
IceInternal::Property("IceDiscovery.Multicast.Connection.EnableIdleCheck", false, "1", false),
IceInternal::Property("IceDiscovery.Multicast.Connection.IdleTimeout", false, "60", false),
IceInternal::Property("IceDiscovery.Multicast.Connection.InactivityTimeout", false, "300", false),
IceInternal::Property("IceDiscovery.Multicast.Connection.MaxDispatches", false, "100", false),
IceInternal::Property("IceDiscovery.Multicast.Connection", false, "", false),
IceInternal::Property("IceDiscovery.Multicast.Endpoints", false, "", false),
IceInternal::Property("IceDiscovery.Multicast.Locator.EndpointSelection", false, "", false),
Expand Down Expand Up @@ -240,6 +243,7 @@ const IceInternal::Property IceDiscoveryPropsData[] = {
IceInternal::Property("IceDiscovery.Reply.Connection.EnableIdleCheck", false, "1", false),
IceInternal::Property("IceDiscovery.Reply.Connection.IdleTimeout", false, "60", false),
IceInternal::Property("IceDiscovery.Reply.Connection.InactivityTimeout", false, "300", false),
IceInternal::Property("IceDiscovery.Reply.Connection.MaxDispatches", false, "100", false),
IceInternal::Property("IceDiscovery.Reply.Connection", false, "", false),
IceInternal::Property("IceDiscovery.Reply.Endpoints", false, "", false),
IceInternal::Property("IceDiscovery.Reply.Locator.EndpointSelection", false, "", false),
Expand Down Expand Up @@ -279,6 +283,7 @@ const IceInternal::Property IceDiscoveryPropsData[] = {
IceInternal::Property("IceDiscovery.Locator.Connection.EnableIdleCheck", false, "1", false),
IceInternal::Property("IceDiscovery.Locator.Connection.IdleTimeout", false, "60", false),
IceInternal::Property("IceDiscovery.Locator.Connection.InactivityTimeout", false, "300", false),
IceInternal::Property("IceDiscovery.Locator.Connection.MaxDispatches", false, "100", false),
IceInternal::Property("IceDiscovery.Locator.Connection", false, "", false),
IceInternal::Property("IceDiscovery.Locator.Endpoints", false, "", false),
IceInternal::Property("IceDiscovery.Locator.Locator.EndpointSelection", false, "", false),
Expand Down Expand Up @@ -333,6 +338,7 @@ const IceInternal::Property IceLocatorDiscoveryPropsData[] = {
IceInternal::Property("IceLocatorDiscovery.Reply.Connection.EnableIdleCheck", false, "1", false),
IceInternal::Property("IceLocatorDiscovery.Reply.Connection.IdleTimeout", false, "60", false),
IceInternal::Property("IceLocatorDiscovery.Reply.Connection.InactivityTimeout", false, "300", false),
IceInternal::Property("IceLocatorDiscovery.Reply.Connection.MaxDispatches", false, "100", false),
IceInternal::Property("IceLocatorDiscovery.Reply.Connection", false, "", false),
IceInternal::Property("IceLocatorDiscovery.Reply.Endpoints", false, "", false),
IceInternal::Property("IceLocatorDiscovery.Reply.Locator.EndpointSelection", false, "", false),
Expand Down Expand Up @@ -372,6 +378,7 @@ const IceInternal::Property IceLocatorDiscoveryPropsData[] = {
IceInternal::Property("IceLocatorDiscovery.Locator.Connection.EnableIdleCheck", false, "1", false),
IceInternal::Property("IceLocatorDiscovery.Locator.Connection.IdleTimeout", false, "60", false),
IceInternal::Property("IceLocatorDiscovery.Locator.Connection.InactivityTimeout", false, "300", false),
IceInternal::Property("IceLocatorDiscovery.Locator.Connection.MaxDispatches", false, "100", false),
IceInternal::Property("IceLocatorDiscovery.Locator.Connection", false, "", false),
IceInternal::Property("IceLocatorDiscovery.Locator.Endpoints", false, "", false),
IceInternal::Property("IceLocatorDiscovery.Locator.Locator.EndpointSelection", false, "", false),
Expand Down Expand Up @@ -467,6 +474,7 @@ const IceInternal::Property IceBridgePropsData[] = {
IceInternal::Property("IceBridge.Source.Connection.EnableIdleCheck", false, "1", false),
IceInternal::Property("IceBridge.Source.Connection.IdleTimeout", false, "60", false),
IceInternal::Property("IceBridge.Source.Connection.InactivityTimeout", false, "300", false),
IceInternal::Property("IceBridge.Source.Connection.MaxDispatches", false, "100", false),
IceInternal::Property("IceBridge.Source.Connection", false, "", false),
IceInternal::Property("IceBridge.Source.Endpoints", false, "", false),
IceInternal::Property("IceBridge.Source.Locator.EndpointSelection", false, "", false),
Expand Down Expand Up @@ -523,6 +531,7 @@ const IceInternal::Property IceGridAdminPropsData[] = {
IceInternal::Property("IceGridAdmin.Server.Connection.EnableIdleCheck", false, "1", false),
IceInternal::Property("IceGridAdmin.Server.Connection.IdleTimeout", false, "60", false),
IceInternal::Property("IceGridAdmin.Server.Connection.InactivityTimeout", false, "300", false),
IceInternal::Property("IceGridAdmin.Server.Connection.MaxDispatches", false, "100", false),
IceInternal::Property("IceGridAdmin.Server.Connection", false, "", false),
IceInternal::Property("IceGridAdmin.Server.Endpoints", false, "", false),
IceInternal::Property("IceGridAdmin.Server.Locator.EndpointSelection", false, "", false),
Expand Down Expand Up @@ -565,6 +574,7 @@ const IceInternal::Property IceGridAdminPropsData[] = {
IceInternal::Property("IceGridAdmin.Discovery.Reply.Connection.EnableIdleCheck", false, "1", false),
IceInternal::Property("IceGridAdmin.Discovery.Reply.Connection.IdleTimeout", false, "60", false),
IceInternal::Property("IceGridAdmin.Discovery.Reply.Connection.InactivityTimeout", false, "300", false),
IceInternal::Property("IceGridAdmin.Discovery.Reply.Connection.MaxDispatches", false, "100", false),
IceInternal::Property("IceGridAdmin.Discovery.Reply.Connection", false, "", false),
IceInternal::Property("IceGridAdmin.Discovery.Reply.Endpoints", false, "", false),
IceInternal::Property("IceGridAdmin.Discovery.Reply.Locator.EndpointSelection", false, "", false),
Expand Down Expand Up @@ -604,6 +614,7 @@ const IceInternal::Property IceGridAdminPropsData[] = {
IceInternal::Property("IceGridAdmin.Discovery.Locator.Connection.EnableIdleCheck", false, "1", false),
IceInternal::Property("IceGridAdmin.Discovery.Locator.Connection.IdleTimeout", false, "60", false),
IceInternal::Property("IceGridAdmin.Discovery.Locator.Connection.InactivityTimeout", false, "300", false),
IceInternal::Property("IceGridAdmin.Discovery.Locator.Connection.MaxDispatches", false, "100", false),
IceInternal::Property("IceGridAdmin.Discovery.Locator.Connection", false, "", false),
IceInternal::Property("IceGridAdmin.Discovery.Locator.Endpoints", false, "", false),
IceInternal::Property("IceGridAdmin.Discovery.Locator.Locator.EndpointSelection", false, "", false),
Expand Down Expand Up @@ -652,6 +663,7 @@ const IceInternal::Property IceGridPropsData[] = {
IceInternal::Property("IceGrid.AdminRouter.Connection.EnableIdleCheck", false, "1", false),
IceInternal::Property("IceGrid.AdminRouter.Connection.IdleTimeout", false, "60", false),
IceInternal::Property("IceGrid.AdminRouter.Connection.InactivityTimeout", false, "300", false),
IceInternal::Property("IceGrid.AdminRouter.Connection.MaxDispatches", false, "100", false),
IceInternal::Property("IceGrid.AdminRouter.Connection", false, "", false),
IceInternal::Property("IceGrid.AdminRouter.Endpoints", false, "", false),
IceInternal::Property("IceGrid.AdminRouter.Locator.EndpointSelection", false, "", false),
Expand Down Expand Up @@ -692,6 +704,7 @@ const IceInternal::Property IceGridPropsData[] = {
IceInternal::Property("IceGrid.Node.Connection.EnableIdleCheck", false, "1", false),
IceInternal::Property("IceGrid.Node.Connection.IdleTimeout", false, "60", false),
IceInternal::Property("IceGrid.Node.Connection.InactivityTimeout", false, "300", false),
IceInternal::Property("IceGrid.Node.Connection.MaxDispatches", false, "100", false),
IceInternal::Property("IceGrid.Node.Connection", false, "", false),
IceInternal::Property("IceGrid.Node.Endpoints", false, "", false),
IceInternal::Property("IceGrid.Node.Locator.EndpointSelection", false, "", false),
Expand Down Expand Up @@ -772,6 +785,7 @@ const IceInternal::Property IceGridPropsData[] = {
IceInternal::Property("IceGrid.Registry.AdminSessionManager.Connection.EnableIdleCheck", false, "1", false),
IceInternal::Property("IceGrid.Registry.AdminSessionManager.Connection.IdleTimeout", false, "60", false),
IceInternal::Property("IceGrid.Registry.AdminSessionManager.Connection.InactivityTimeout", false, "300", false),
IceInternal::Property("IceGrid.Registry.AdminSessionManager.Connection.MaxDispatches", false, "100", false),
IceInternal::Property("IceGrid.Registry.AdminSessionManager.Connection", false, "", false),
IceInternal::Property("IceGrid.Registry.AdminSessionManager.Endpoints", false, "", false),
IceInternal::Property("IceGrid.Registry.AdminSessionManager.Locator.EndpointSelection", false, "", false),
Expand Down Expand Up @@ -821,6 +835,7 @@ const IceInternal::Property IceGridPropsData[] = {
IceInternal::Property("IceGrid.Registry.Client.Connection.EnableIdleCheck", false, "1", false),
IceInternal::Property("IceGrid.Registry.Client.Connection.IdleTimeout", false, "60", false),
IceInternal::Property("IceGrid.Registry.Client.Connection.InactivityTimeout", false, "300", false),
IceInternal::Property("IceGrid.Registry.Client.Connection.MaxDispatches", false, "100", false),
IceInternal::Property("IceGrid.Registry.Client.Connection", false, "", false),
IceInternal::Property("IceGrid.Registry.Client.Endpoints", false, "", false),
IceInternal::Property("IceGrid.Registry.Client.Locator.EndpointSelection", false, "", false),
Expand Down Expand Up @@ -862,6 +877,7 @@ const IceInternal::Property IceGridPropsData[] = {
IceInternal::Property("IceGrid.Registry.Discovery.Connection.EnableIdleCheck", false, "1", false),
IceInternal::Property("IceGrid.Registry.Discovery.Connection.IdleTimeout", false, "60", false),
IceInternal::Property("IceGrid.Registry.Discovery.Connection.InactivityTimeout", false, "300", false),
IceInternal::Property("IceGrid.Registry.Discovery.Connection.MaxDispatches", false, "100", false),
IceInternal::Property("IceGrid.Registry.Discovery.Connection", false, "", false),
IceInternal::Property("IceGrid.Registry.Discovery.Endpoints", false, "", false),
IceInternal::Property("IceGrid.Registry.Discovery.Locator.EndpointSelection", false, "", false),
Expand Down Expand Up @@ -906,6 +922,7 @@ const IceInternal::Property IceGridPropsData[] = {
IceInternal::Property("IceGrid.Registry.Internal.Connection.EnableIdleCheck", false, "1", false),
IceInternal::Property("IceGrid.Registry.Internal.Connection.IdleTimeout", false, "60", false),
IceInternal::Property("IceGrid.Registry.Internal.Connection.InactivityTimeout", false, "300", false),
IceInternal::Property("IceGrid.Registry.Internal.Connection.MaxDispatches", false, "100", false),
IceInternal::Property("IceGrid.Registry.Internal.Connection", false, "", false),
IceInternal::Property("IceGrid.Registry.Internal.Endpoints", false, "", false),
IceInternal::Property("IceGrid.Registry.Internal.Locator.EndpointSelection", false, "", false),
Expand Down Expand Up @@ -958,6 +975,7 @@ const IceInternal::Property IceGridPropsData[] = {
IceInternal::Property("IceGrid.Registry.Server.Connection.EnableIdleCheck", false, "1", false),
IceInternal::Property("IceGrid.Registry.Server.Connection.IdleTimeout", false, "60", false),
IceInternal::Property("IceGrid.Registry.Server.Connection.InactivityTimeout", false, "300", false),
IceInternal::Property("IceGrid.Registry.Server.Connection.MaxDispatches", false, "100", false),
IceInternal::Property("IceGrid.Registry.Server.Connection", false, "", false),
IceInternal::Property("IceGrid.Registry.Server.Endpoints", false, "", false),
IceInternal::Property("IceGrid.Registry.Server.Locator.EndpointSelection", false, "", false),
Expand Down Expand Up @@ -998,6 +1016,7 @@ const IceInternal::Property IceGridPropsData[] = {
IceInternal::Property("IceGrid.Registry.SessionManager.Connection.EnableIdleCheck", false, "1", false),
IceInternal::Property("IceGrid.Registry.SessionManager.Connection.IdleTimeout", false, "60", false),
IceInternal::Property("IceGrid.Registry.SessionManager.Connection.InactivityTimeout", false, "300", false),
IceInternal::Property("IceGrid.Registry.SessionManager.Connection.MaxDispatches", false, "100", false),
IceInternal::Property("IceGrid.Registry.SessionManager.Connection", false, "", false),
IceInternal::Property("IceGrid.Registry.SessionManager.Endpoints", false, "", false),
IceInternal::Property("IceGrid.Registry.SessionManager.Locator.EndpointSelection", false, "", false),
Expand Down Expand Up @@ -1122,6 +1141,7 @@ const IceInternal::Property Glacier2PropsData[] = {
IceInternal::Property("Glacier2.Client.Connection.EnableIdleCheck", false, "1", false),
IceInternal::Property("Glacier2.Client.Connection.IdleTimeout", false, "60", false),
IceInternal::Property("Glacier2.Client.Connection.InactivityTimeout", false, "300", false),
IceInternal::Property("Glacier2.Client.Connection.MaxDispatches", false, "100", false),
IceInternal::Property("Glacier2.Client.Connection", false, "", false),
IceInternal::Property("Glacier2.Client.Endpoints", false, "", false),
IceInternal::Property("Glacier2.Client.Locator.EndpointSelection", false, "", false),
Expand Down Expand Up @@ -1198,6 +1218,7 @@ const IceInternal::Property Glacier2PropsData[] = {
IceInternal::Property("Glacier2.Server.Connection.EnableIdleCheck", false, "1", false),
IceInternal::Property("Glacier2.Server.Connection.IdleTimeout", false, "60", false),
IceInternal::Property("Glacier2.Server.Connection.InactivityTimeout", false, "300", false),
IceInternal::Property("Glacier2.Server.Connection.MaxDispatches", false, "100", false),
IceInternal::Property("Glacier2.Server.Connection", false, "", false),
IceInternal::Property("Glacier2.Server.Endpoints", false, "", false),
IceInternal::Property("Glacier2.Server.Locator.EndpointSelection", false, "", false),
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/Ice/PropertyNames.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright (c) ZeroC, Inc. All rights reserved.

// Generated by makeprops.py from PropertyNames.xml, Tue Jul 2 13:49:12 2024
// Generated by makeprops.py from PropertyNames.xml, Thu Aug 1 16:32:24 2024

// IMPORTANT: Do not edit this file -- any edits made here will be lost!

Expand Down
Loading

0 comments on commit ce4245e

Please sign in to comment.