You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Bruce Schuchardt (JIRA)" <ji...@apache.org> on 2018/06/14 17:33:00 UTC

[jira] [Resolved] (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 ]

Bruce Schuchardt resolved GEODE-5323.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.8.0

commit 56c5d11d095ec719e86a1db4a18275d4858e95e5 (HEAD -> develop, origin/develop)
Author: Bruce Schuchardt <bs...@pivotal.io>
Date: Thu Jun 14 10:30:26 2018 -0700

GEODE-5323 ConfigurationProperties says the default socket-lease-time is 15000ms but it is 60000ms

changed the documentation to note the correct default value for this
 setting

> 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.8.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)