[
https://issues.apache.org/jira/browse/GEODE-9973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17480195#comment-17480195
]
Alberto Gomez commented on GEODE-9973:
--------------------------------------
[~dbarnes] and [~amurmann] . I do not think this has changed recently. It was
probably like this from the beginning but i cannot confirm it.
> Documentation: socket-lease-time is not used to return sockets to a pool but
> to close them
> ------------------------------------------------------------------------------------------
>
> Key: GEODE-9973
> URL: https://issues.apache.org/jira/browse/GEODE-9973
> Project: Geode
> Issue Type: Bug
> Components: docs
> Reporter: Alberto Gomez
> Assignee: Donal Evans
> Priority: Major
> Labels: pull-request-available
>
> The "Making sure you have enough sockets" Geode documentation section says
> the following about socket-lease-time (check underlined sentence):
>
> Peer-to-peer. For peer-to-peer threads that do not share sockets, you can use
> the socket-lease-time to make sure that no socket sits idle for too long.
> +When a socket that belongs to an individual thread remains unused for this
> time period, the system automatically returns it to the pool.+ The next time
> the thread needs a socket, it creates a new socket.
>
> Actually, the system automatically closes the connection in the situation
> described instead of returning it to any pool.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)