You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "nabarun (JIRA)" <ji...@apache.org> on 2018/10/03 21:38:41 UTC
[jira] [Closed] (GEODE-5323) ConfigurationProperties says the
default socket-lease-time is 15000ms but it is 60000ms
[ https://issues.apache.org/jira/browse/GEODE-5323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nabarun closed GEODE-5323.
--------------------------
> ConfigurationProperties says the default socket-lease-time is 15000ms but it is 60000ms
> ---------------------------------------------------------------------------------------
>
> Key: GEODE-5323
> URL: https://issues.apache.org/jira/browse/GEODE-5323
> Project: Geode
> Issue Type: Test
> Components: messaging
> Reporter: Bruce Schuchardt
> Assignee: Bruce Schuchardt
> Priority: Major
> Fix For: 1.7.0
>
>
> The default socket lease time is defined in DistributionConfig:
> {code}
> /**
> * The default value of the {@link ConfigurationProperties#SOCKET_LEASE_TIME} property
> */
> int DEFAULT_SOCKET_LEASE_TIME = 60000;
> {code}
> but it is documented to be 15 seconds
> {code}
> /**
> * The static String definition of the <i>"socket-lease-time"</i> property <a
> * name="socket-lease-time"/a>
> * </p>
> * <U>Description</U>: The number of milliseconds a thread can keep exclusive access to a socket
> * that it is not actively using. Once a thread loses its lease to a socket it will need to
> * re-acquire a socket the next time it sends a message. A value of zero causes socket leases to
> * never expire. This property is ignored if "conserve-sockets" is true. <U>Default</U>: "15000"
> * </p>
> * <U>Allowed values</U>: 0..600000
> * </p>
> * <U>Since</U>: GemFire 4.1
> */
> String SOCKET_LEASE_TIME = "socket-lease-time";
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)