AFGlobalSettings.PISystemOpenIdProxyPoolSize Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static int PISystemOpenIdProxyPoolSize { get; set; }
Public Shared Property PISystemOpenIdProxyPoolSize As Integer Get Set Dim value As Integer value = AFGlobalSettings.PISystemOpenIdProxyPoolSize AFGlobalSettings.PISystemOpenIdProxyPoolSize = value
public: static property int PISystemOpenIdProxyPoolSize { int get (); void set (int value); }
static member PISystemOpenIdProxyPoolSize : int with get, set
Property Value
Type: Int32Returns the number of OpenId proxies in the pool of connections to the PISystem. The default value is 10.
Remarks
A proxy is used to handle the connection to the PISystem. When connecting to servers older than version 2.9.5, a separate proxy pool is allocated for each user. The proxies in the pool are reused when needed by a thread to allow remote calls to the server to not block. When all the proxies in the pool are in use, the next request will have to wait for a proxy to become available. You would want to increase the proxy pool size if you have many simultaneous remote calls to the server occurring at the same time.
The default value for this property is read from the SDK's configuration file in the OSI directory under the CommonApplicationData directory. This default value will be the default for all clients executed on the computer. If this property is modified in the client, then it will only affect the current client and the modified value will not be persisted.