-
Notifications
You must be signed in to change notification settings - Fork 99
Closed
ballerina-platform/module-ballerinax-salesforce
#392Labels
Description
Area
None
Current Limitation
Currently the Salesforce listener does not provide a way to configure the following timeout configurations.
Connection Timeout - Maximum time to wait for establishing a connection to the Salesforce API
Read Timeout - Maximum time to wait for the long polling transport before considering a request failed
KeepAlive Timeout - The maximum duration that a connection is kept alive without activity
Suggested Improvement
There should be a way for the users to configure these values in the listener configs as follows.
public type ListenerConfig record {|
... //
# The maximum time in seconds to wait for establishing a connection to the Salesforce streaming API
decimal connectionTimeout = 30;
# The maximum time in seconds to wait for the long polling transport before considering a request failed
decimal readTimeout = 30;
# The maximum duration in seconds that a connection is kept alive without activity
decimal keepAliveInterval = 120;
|};Version
No response
Reactions are currently unavailable